From 2514100774c5d1e1fa013daccfe92897c727e640 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 22 May 2010 14:42:44 +0000 Subject: [totem-screensaver] Use g_bus_watch_proxy instead of g_bus_watch_name This way we don't need a GDBusConnection ref, since the proxy created by GDBus contains the shared connection. --- (limited to 'shell') diff --git a/shell/ev-application.c b/shell/ev-application.c index 4fd4e37..dadc466 100644 --- a/shell/ev-application.c +++ b/shell/ev-application.c @@ -888,7 +888,7 @@ ev_application_init (EvApplication *ev_application) ev_application->keys = ev_media_player_keys_new (ev_application->connection); - ev_application->scr_saver = totem_scrsaver_new (ev_application->connection); + ev_application->scr_saver = totem_scrsaver_new (); } #else ev_application->scr_saver = totem_scrsaver_new (NULL); -- cgit v0.9.1