Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-05-25 08:04:12 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-05-25 08:04:12 (GMT)
commit4da16e0c0882f8eec36c06aeeb86fe0116fbd025 (patch)
tree60d58d3991a6922f6a4a855f0d774b96090b2a9d /shell
parentbca795715b1428f116fc3648083f6a02f8b244f6 (diff)
[shell] Update to current GDBus API
And bump glib requirements
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-application.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 071af79..98167d2 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -374,6 +374,7 @@ ev_application_register_uri (EvApplication *application,
"org.gnome.evince.Daemon",
"RegisterDocument",
g_variant_new ("(s)", uri),
+ G_VARIANT_TYPE ("(s)"),
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
@@ -431,6 +432,7 @@ ev_application_register_uri (EvApplication *application,
APPLICATION_DBUS_INTERFACE,
"OpenURI",
g_variant_builder_end (&builder),
+ NULL,
G_DBUS_CALL_FLAGS_NONE,
-1,
NULL,
@@ -466,6 +468,7 @@ ev_application_unregister_uri (EvApplication *application,
"org.gnome.evince.Daemon",
"UnregisterDocument",
g_variant_new ("(s)", uri),
+ NULL,
G_DBUS_CALL_FLAGS_NO_AUTO_START,
-1,
NULL,