+2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
+
+ * shell/main.c: (load_files_remote):
+
+ Fix for dbus 0.33. bug #309975
+
2005-07-08 Marco Pesenti Gritti <mpg@redhat.com>
* properties/ev-properties-main.c: (ev_properties_get_pages):
"/org/gnome/evince/Evince",
"org.gnome.evince.Application");
if (!files) {
-#if DBUS_VERSION < 35
+#if DBUS_VERSION <= 33
+ call = dbus_g_proxy_begin_call (remote_object, "OpenWindow", DBUS_TYPE_INVALID);
+
+ if (!dbus_g_proxy_end_call (remote_object, call, &error, DBUS_TYPE_INVALID)) {
+ g_warning (error->message);
+ g_clear_error (&error);
+ return FALSE;
+ }
+#elif DBUS_VERSION == 34
call = dbus_g_proxy_begin_call (remote_object, "OpenWindow", G_TYPE_INVALID);
if (!dbus_g_proxy_end_call (remote_object, call, &error, G_TYPE_INVALID)) {
uri = gnome_vfs_make_uri_from_shell_arg (files[i]);
page_label = ev_page_label ? ev_page_label : "";
-#if DBUS_VERSION < 35
+#if DBUS_VERSION <= 33
+ call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
+ DBUS_TYPE_STRING, &uri,
+ DBUS_TYPE_STRING, &page_label,
+ DBUS_TYPE_INVALID);
+
+ if (!dbus_g_proxy_end_call (remote_object, call, &error, DBUS_TYPE_INVALID)) {
+ g_warning (error->message);
+ g_clear_error (&error);
+ result = FALSE;
+ }
+#elif DBUS_VERSION == 34
call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
G_TYPE_STRING, uri,
G_TYPE_STRING, page_label,