summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b2e7a9f)
2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/main.c: (load_files_remote):
Allow open more than one file
+2005-07-11 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/main.c: (load_files_remote):
+
+ Allow open more than one file
+
2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
* shell/main.c: (load_files_remote):
2005-07-11 Marco Pesenti Gritti <mpg@redhat.com>
* shell/main.c: (load_files_remote):
int i;
GError *error = NULL;
DBusGConnection *connection;
int i;
GError *error = NULL;
DBusGConnection *connection;
+ gboolean result = FALSE;
#if DBUS_VERSION < 35
DBusGPendingCall *call;
#endif
#if DBUS_VERSION < 35
DBusGPendingCall *call;
#endif
}
for (i = 0; files[i]; i++) {
}
for (i = 0; files[i]; i++) {
- gboolean result = TRUE;
const char *page_label;
char *uri;
const char *page_label;
char *uri;
if (!dbus_g_proxy_end_call (remote_object, call, &error, DBUS_TYPE_INVALID)) {
g_warning (error->message);
g_clear_error (&error);
if (!dbus_g_proxy_end_call (remote_object, call, &error, DBUS_TYPE_INVALID)) {
g_warning (error->message);
g_clear_error (&error);
+ g_free (uri);
+ continue;
}
#elif DBUS_VERSION == 34
call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
}
#elif DBUS_VERSION == 34
call = dbus_g_proxy_begin_call (remote_object, "OpenURI",
if (!dbus_g_proxy_end_call (remote_object, call, &error, G_TYPE_INVALID)) {
g_warning (error->message);
g_clear_error (&error);
if (!dbus_g_proxy_end_call (remote_object, call, &error, G_TYPE_INVALID)) {
g_warning (error->message);
g_clear_error (&error);
+ g_free (uri);
+ continue;
}
#else
if (!dbus_g_proxy_call (remote_object, "OpenURI", &error,
}
#else
if (!dbus_g_proxy_call (remote_object, "OpenURI", &error,
G_TYPE_INVALID)) {
g_warning (error->message);
g_clear_error (&error);
G_TYPE_INVALID)) {
g_warning (error->message);
g_clear_error (&error);
+ g_free (uri);
+ continue;
}
#endif /* ENABLE_DBUS */
}
#endif /* ENABLE_DBUS */