Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-application.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-05-22 14:42:44 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-05-25 07:38:31 (GMT)
commit2514100774c5d1e1fa013daccfe92897c727e640 (patch)
treeb0286a57ade9d33f5611e312868ab4b5c9a2c6f4 /shell/ev-application.c
parent8f4c30ebbebb9128caea62bfaa89c0f3aea7a416 (diff)
[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.
Diffstat (limited to 'shell/ev-application.c')
-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 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);