From: Marco Pesenti Gritti Date: Thu, 1 Sep 2005 08:12:45 +0000 (+0000) Subject: Fix timestamp parameter with dbus <= 0.33 X-Git-Tag: EVINCE_0_5_0~194 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=b25c2bfcf89697009a3129f123073b84a312dfdd;p=evince.git 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 --- 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)) {