Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--shell/main.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ac4bcf..c3b0eca 100644
--- 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:
diff --git a/shell/main.c b/shell/main.c
index 5af54e6..8aac27a 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -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)) {