From: Carlos Garcia Campos Date: Sat, 22 May 2010 17:36:23 +0000 (+0200) Subject: [shell] Use g_bus_unwatch_proxy() instead of g_bus_unwatch_name() X-Git-Tag: EVINCE_2_31_2~11 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=bca795715b1428f116fc3648083f6a02f8b244f6;p=evince.git [shell] Use g_bus_unwatch_proxy() instead of g_bus_unwatch_name() --- diff --git a/shell/ev-media-player-keys.c b/shell/ev-media-player-keys.c index 3df271d2..c8f3418b 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);