]> www.fi.muni.cz Git - evince.git/commitdiff
Fix timestamp parameter with dbus <= 0.33
authorMarco Pesenti Gritti <mpg@redhat.com>
Thu, 1 Sep 2005 08:12:45 +0000 (08:12 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Thu, 1 Sep 2005 08:12:45 +0000 (08:12 +0000)
2005-09-01  Marco Pesenti Gritti  <mpg@redhat.com>

        * shell/main.c: (load_files_remote):

        Fix timestamp parameter with dbus <= 0.33

ChangeLog
shell/main.c

index 5ac4bcf39599ae3d33d9f1c486f7a283c878efba..c3b0ecaccac4d3d17ab8291b167edfc4ce7b7324 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-01  Marco Pesenti Gritti  <mpg@redhat.com>
+
+       * shell/main.c: (load_files_remote):
+
+       Fix timestamp parameter with dbus <= 0.33
+
 2005-08-31  Marco Pesenti Gritti  <mpg@redhat.com>
 
        * data/evince.schemas.in:
index 5af54e6eaed3644dcd03234cdca3d1ca4ce690a4..8aac27afa1b85e13b779754d4a1c757678e545b7 100644 (file)
@@ -152,7 +152,7 @@ load_files_remote (const char **files)
        if (!files) {
 #if DBUS_VERSION <= 33
                call = dbus_g_proxy_begin_call (remote_object, "OpenWindow",
-                                               DBUS_TYPE_UINT32, timestamp,
+                                               DBUS_TYPE_UINT32, &timestamp,
                                                DBUS_TYPE_INVALID);
 
                if (!dbus_g_proxy_end_call (remote_object, call, &error, DBUS_TYPE_INVALID)) {
@@ -193,7 +193,7 @@ load_files_remote (const char **files)
                call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
                                                DBUS_TYPE_STRING, &uri,
                                                DBUS_TYPE_STRING, &page_label,
-                                               DBUS_TYPE_UINT32, timestamp,
+                                               DBUS_TYPE_UINT32, &timestamp,
                                                DBUS_TYPE_INVALID);
 
                if (!dbus_g_proxy_end_call (remote_object, call, &error, DBUS_TYPE_INVALID)) {