~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to src/display-manager.c

  • Committer: robert.ancell at gmail
  • Date: 2010-04-30 01:49:29 UTC
  • Revision ID: robert.ancell@gmail.com-20100430014929-5qw2uu4uqx15q5xe
Install D-Bus service, use system bus

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
 
60
60
    manager->priv = G_TYPE_INSTANCE_GET_PRIVATE (manager, DISPLAY_MANAGER_TYPE, DisplayManagerPrivate);
61
61
  
62
 
    manager->priv->connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error); // FIXME: Use system or private bus
 
62
    manager->priv->connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error);
63
63
    if (!manager->priv->connection)
64
64
        g_warning ("Failed to register on D-Bus: %s", error->message);
65
65
    g_clear_error (&error);