Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2010-05-13 12:59:18 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-05-25 07:38:31 (GMT)
commit5478e7ba12be2167143e58a33508a555d8533813 (patch)
tree196090205d3b2b325060b3ab9bf65002f3e8f04b /shell
parent2baf0a33fd22d79a6803cdff480e8a293b2f0049 (diff)
[shell] Remove DBUS conditionals from TotemScrsaver
Now that GDBus is in GIO, there's no need to conditionally compile this code. Just allow passing %NULL for @connection in totem_scrsaver_new() to disable using DBUS to inhibit the screensaver.
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 191c6fb..de2ef3d 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -891,7 +891,7 @@ ev_application_init (EvApplication *ev_application)
ev_application->scr_saver = totem_scrsaver_new (ev_application->connection);
}
#else
- ev_application->scr_saver = totem_scrsaver_new ();
+ ev_application->scr_saver = totem_scrsaver_new (NULL);
#endif /* ENABLE_DBUS */
}