]> www.fi.muni.cz Git - evince.git/blobdiff - shell/main.c
Mark close button as default. Fix for 316381.
[evince.git] / shell / main.c
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)) {