From 5478e7ba12be2167143e58a33508a555d8533813 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 13 May 2010 12:59:18 +0000 Subject: [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. --- (limited to 'shell') 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 */ } -- cgit v0.9.1