[evince] [shell] Update to current GDBus API
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] [shell] Update to current GDBus API
- Date: Tue, 25 May 2010 08:04:44 +0000 (UTC)
commit 4da16e0c0882f8eec36c06aeeb86fe0116fbd025
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Tue May 25 10:04:12 2010 +0200
[shell] Update to current GDBus API
And bump glib requirements
configure.ac | 2 +-
shell/ev-application.c | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8c508c8..b66d4a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,7 +123,7 @@ AM_CONDITIONAL([PLATFORM_WIN32],[test "$with_platform" = "win32"])
dnl Specify required versions of dependencies
GTK_REQUIRED=2.21.0
-GLIB_REQUIRED=2.25.6
+GLIB_REQUIRED=2.25.7
KEYRING_REQUIRED=2.22.0
AC_SUBST([GLIB_REQUIRED])
AC_SUBST([GTK_REQUIRED])
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]