~ubuntu-branches/ubuntu/precise/policykit-1/precise

« back to all changes in this revision

Viewing changes to src/polkitbackend/polkitbackendauthority.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-03-03 23:50:17 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110303235017-kvnqqsk2z00qyct7
Tags: 0.101-1
* New upstream release.
* Update patches
  - Drop debian/patches/04_test_signalfd.patch, merged upstream.
  - Refresh other patches to apply cleanly.
* debian/libpolkit-gobject-1-0.symbols
  - Add polkit_authorization_result_get_dismissed.
* debian/control
  - Bump Build-Depends on libglib2.0-dev to (>= 2.28.0).
* debian/rules
  - Don't build example programs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <polkit/polkitprivate.h>
31
31
 
32
32
#include "polkitbackendauthority.h"
33
 
#include "polkitbackendactionlookup.h"
34
33
#include "polkitbackendlocalauthority.h"
35
34
 
36
35
#include "polkitbackendprivate.h"
1291
1290
polkit_backend_authority_get (void)
1292
1291
{
1293
1292
  static GIOExtensionPoint *ep = NULL;
1294
 
  static GIOExtensionPoint *ep_action_lookup = NULL;
1295
1293
  static volatile GType local_authority_type = G_TYPE_INVALID;
1296
1294
  GList *modules;
1297
1295
  GList *authority_implementations;
1305
1303
      ep = g_io_extension_point_register (POLKIT_BACKEND_AUTHORITY_EXTENSION_POINT_NAME);
1306
1304
      g_io_extension_point_set_required_type (ep, POLKIT_BACKEND_TYPE_AUTHORITY);
1307
1305
    }
1308
 
  if (ep_action_lookup == NULL)
1309
 
    {
1310
 
      ep_action_lookup = g_io_extension_point_register (POLKIT_BACKEND_ACTION_LOOKUP_EXTENSION_POINT_NAME);
1311
 
      g_io_extension_point_set_required_type (ep_action_lookup, POLKIT_BACKEND_TYPE_ACTION_LOOKUP);
1312
 
    }
1313
1306
 
1314
1307
  /* make sure local types are registered */
1315
1308
  if (local_authority_type == G_TYPE_INVALID)