[gnome-panel/bonobo-less] Update to new GDBus API
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/bonobo-less] Update to new GDBus API
- Date: Wed, 26 May 2010 07:27:19 +0000 (UTC)
commit 4bfab5ed8466cc7b58114c338fdf184771bc36c9
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Wed May 26 09:26:50 2010 +0200
Update to new GDBus API
configure.in | 2 +-
gnome-panel/panel-applet-container.c | 4 ++++
gnome-panel/panel-shell.c | 1 +
3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index de67b0a..7e134d7 100644
--- a/configure.in
+++ b/configure.in
@@ -57,7 +57,7 @@ AC_CHECK_FUNCS(_NSGetEnviron)
LIBGNOME_DESKTOP_REQUIRED=2.24.0
GDK_PIXBUF_REQUIRED=2.7.1
PANGO_REQUIRED=1.15.4
-GLIB_REQUIRED=2.25.5
+GLIB_REQUIRED=2.25.7
GTK_REQUIRED=2.15.1
LIBWNCK_REQUIRED=2.19.5
GCONF_REQUIRED=2.6.1
diff --git a/gnome-panel/panel-applet-container.c b/gnome-panel/panel-applet-container.c
index 84110e5..7340e8e 100644
--- a/gnome-panel/panel-applet-container.c
+++ b/gnome-panel/panel-applet-container.c
@@ -437,6 +437,7 @@ on_factory_appeared (GDBusConnection *connection,
PANEL_APPLET_FACTORY_INTERFACE,
"GetApplet",
data->parameters,
+ G_VARIANT_TYPE ("(ou)"),
G_DBUS_CALL_FLAGS_NONE,
-1,
data->cancellable,
@@ -608,6 +609,7 @@ panel_applet_container_child_set (PanelAppletContainer *container,
g_dbus_proxy_get_interface_name (proxy),
info->dbus_name,
value),
+ NULL,
G_DBUS_CALL_FLAGS_NO_AUTO_START,
-1, cancellable,
set_applet_property_cb,
@@ -706,6 +708,7 @@ panel_applet_container_child_get (PanelAppletContainer *container,
g_variant_new ("(ss)",
g_dbus_proxy_get_interface_name (proxy),
info->dbus_name),
+ G_VARIANT_TYPE ("(v)"),
G_DBUS_CALL_FLAGS_NO_AUTO_START,
-1, cancellable,
get_applet_property_cb,
@@ -774,6 +777,7 @@ panel_applet_container_child_popup_menu (PanelAppletContainer *container,
PANEL_APPLET_INTERFACE,
"PopupMenu",
g_variant_new ("(uu)", button, timestamp),
+ NULL,
G_DBUS_CALL_FLAGS_NO_AUTO_START,
-1, cancellable,
child_popup_menu_cb,
diff --git a/gnome-panel/panel-shell.c b/gnome-panel/panel-shell.c
index c5b9c7c..72932dc 100644
--- a/gnome-panel/panel-shell.c
+++ b/gnome-panel/panel-shell.c
@@ -103,6 +103,7 @@ panel_shell_register (gboolean replace)
g_variant_new ("(su)",
PANEL_DBUS_SERVICE,
flags),
+ G_VARIANT_TYPE ("(u)"),
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, &error);
if (!result) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]