[evince] [shell] Use g_bus_unwatch_proxy() instead of g_bus_unwatch_name()



commit bca795715b1428f116fc3648083f6a02f8b244f6
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sat May 22 19:36:23 2010 +0200

    [shell] Use g_bus_unwatch_proxy() instead of g_bus_unwatch_name()

 shell/ev-media-player-keys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-media-player-keys.c b/shell/ev-media-player-keys.c
index 3df271d..c8f3418 100644
--- a/shell/ev-media-player-keys.c
+++ b/shell/ev-media-player-keys.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]