]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] Use g_bus_unwatch_proxy() instead of g_bus_unwatch_name()
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sat, 22 May 2010 17:36:23 +0000 (19:36 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 25 May 2010 07:38:43 +0000 (09:38 +0200)
shell/ev-media-player-keys.c

index 3df271d2911e5a1e75240a6691f1e5592eee5c0d..c8f3418bc45bb75eb3552752030deab6d9b249a2 100644 (file)
@@ -192,7 +192,7 @@ ev_media_player_keys_finalize (GObject *object)
         ev_media_player_keys_release_keys (keys);
 
        if (keys->watch_id > 0)
-               g_bus_unwatch_name (keys->watch_id);
+               g_bus_unwatch_proxy (keys->watch_id);
 
         if (keys->proxy != NULL)
                 g_object_unref (keys->proxy);