From b25c2bfcf89697009a3129f123073b84a312dfdd Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 1 Sep 2005 08:12:45 +0000 Subject: [PATCH] Fix timestamp parameter with dbus <= 0.33 2005-09-01 Marco Pesenti Gritti * shell/main.c: (load_files_remote): Fix timestamp parameter with dbus <= 0.33 --- ChangeLog | 6 ++++++ shell/main.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5ac4bcf3..c3b0ecac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-09-01 Marco Pesenti Gritti + + * shell/main.c: (load_files_remote): + + Fix timestamp parameter with dbus <= 0.33 + 2005-08-31 Marco Pesenti Gritti * data/evince.schemas.in: diff --git a/shell/main.c b/shell/main.c index 5af54e6e..8aac27af 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, ×tamp, 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, ×tamp, DBUS_TYPE_INVALID); if (!dbus_g_proxy_end_call (remote_object, call, &error, DBUS_TYPE_INVALID)) { -- 2.47.1