diff options
author | Christian Persch <chpe@gnome.org> | 2010-05-10 16:06:41 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-25 07:38:30 (GMT) |
commit | f8b878d7815b4e07f44c8f308741dd8db6108767 (patch) | |
tree | 6577be252820451421f98a5bc67a887c7641eb1e /shell/ev-media-player-keys.c | |
parent | f330181c78fd7b1e9cae7575ed2df0c7ce0c9fb5 (diff) |
[shell] Fix for GDBus API changes
Diffstat (limited to 'shell/ev-media-player-keys.c')
-rw-r--r-- | shell/ev-media-player-keys.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/shell/ev-media-player-keys.c b/shell/ev-media-player-keys.c index ac364bb..b848906 100644 --- a/shell/ev-media-player-keys.c +++ b/shell/ev-media-player-keys.c @@ -86,29 +86,29 @@ ev_media_player_keys_grab_keys (EvMediaPlayerKeys *keys) * if a media player is there it gets higher priority on the keys (0 is * a special value having maximum priority). */ - g_dbus_connection_invoke_method (keys->connection, - SD_NAME, - SD_OBJECT_PATH, - SD_INTERFACE, - "GrabMediaPlayerKeys", - g_variant_new ("(su)", "Evince", 1), - G_DBUS_INVOKE_METHOD_FLAGS_NO_AUTO_START, - -1, - NULL, NULL, NULL); + g_dbus_connection_call (keys->connection, + SD_NAME, + SD_OBJECT_PATH, + SD_INTERFACE, + "GrabMediaPlayerKeys", + g_variant_new ("(su)", "Evince", 1), + G_DBUS_CALL_FLAGS_NO_AUTO_START, + -1, + NULL, NULL, NULL); } static void ev_media_player_keys_release_keys (EvMediaPlayerKeys *keys) { - g_dbus_connection_invoke_method (keys->connection, - SD_NAME, - SD_OBJECT_PATH, - SD_INTERFACE, - "ReleaseMediaPlayerKeys", - g_variant_new ("(s)", "Evince"), - G_DBUS_INVOKE_METHOD_FLAGS_NO_AUTO_START, - -1, - NULL, NULL, NULL); + g_dbus_connection_call (keys->connection, + SD_NAME, + SD_OBJECT_PATH, + SD_INTERFACE, + "ReleaseMediaPlayerKeys", + g_variant_new ("(s)", "Evince"), + G_DBUS_CALL_FLAGS_NO_AUTO_START, + -1, + NULL, NULL, NULL); } static void |