GNOME Bugzilla – Bug 621766
build failure: panel-applet-container.c:395: error: ‘GBusProxyAppearedCallback’ undeclared
Last modified: 2010-06-18 10:22:27 UTC
I am building git master on Fedora 13 via JHBuild. I am building against glib git master. g_bus_watch_proxy, g_bus_unwatch_proxy have been removed from glib's gio. I haven't had a chance to investigate where g_bus_watch_proxy has moved to, or why they were removed. ------------------------------------------------------------------ make[4]: Leaving directory `/home/oxyde/gnome2/gnome-panel/gnome-panel/libpanel-applet-private' make[3]: Leaving directory `/home/oxyde/gnome2/gnome-panel/gnome-panel' make[2]: Leaving directory `/home/oxyde/gnome2/gnome-panel/gnome-panel' make[1]: Leaving directory `/home/oxyde/gnome2/gnome-panel' panel-applet-container.c: In function ‘panel_applet_container_dispose’: panel-applet-container.c:146: warning: implicit declaration of function ‘g_bus_unwatch_proxy’ panel-applet-container.c:146: warning: nested extern declaration of ‘g_bus_unwatch_proxy’ panel-applet-container.c: In function ‘get_applet_cb’: panel-applet-container.c:388: warning: implicit declaration of function ‘g_bus_watch_proxy_on_connection’ panel-applet-container.c:388: warning: nested extern declaration of ‘g_bus_watch_proxy_on_connection’ panel-applet-container.c:395: error: ‘GBusProxyAppearedCallback’ undeclared (first use in this function) panel-applet-container.c:395: error: (Each undeclared identifier is reported only once panel-applet-container.c:395: error: for each function it appears in.) panel-applet-container.c:395: error: expected ‘)’ before ‘on_proxy_appeared’ panel-applet-container.c: In function ‘panel_applet_container_child_set’: panel-applet-container.c:604: warning: implicit declaration of function ‘g_dbus_proxy_get_unique_bus_name’ panel-applet-container.c:604: warning: nested extern declaration of ‘g_dbus_proxy_get_unique_bus_name’ panel-applet-container.c:616: warning: passing argument 2 of ‘g_dbus_connection_call’ makes pointer from integer without a cast /opt/gnome2/include/glib-2.0/gio/gdbusconnection.h:180: note: expected ‘const gchar *’ but argument is of type ‘int’ panel-applet-container.c: In function ‘panel_applet_container_child_get’: panel-applet-container.c:715: warning: passing argument 2 of ‘g_dbus_connection_call’ makes pointer from integer without a cast /opt/gnome2/include/glib-2.0/gio/gdbusconnection.h:180: note: expected ‘const gchar *’ but argument is of type ‘int’ panel-applet-container.c: In function ‘panel_applet_container_child_popup_menu’: panel-applet-container.c:784: warning: passing argument 2 of ‘g_dbus_connection_call’ makes pointer from integer without a cast /opt/gnome2/include/glib-2.0/gio/gdbusconnection.h:180: note: expected ‘const gchar *’ but argument is of type ‘int’ make[4]: *** [panel-applet-container.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
g_bus_watch_proxy, g_bus_unwatch_proxy deleted in this commit: http://git.gnome.org/browse/glib/commit/?id=32f2e9a85beedeea36ac7623f68f6eb878465d44
I'll fix it as soon as new glib is released. Thanks for reporting.
Fixed in git master.