After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 621766 - build failure: panel-applet-container.c:395: error: ‘GBusProxyAppearedCallback’ undeclared
build failure: panel-applet-container.c:395: error: ‘GBusProxyAppearedCallbac...
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: libpanel-applet
git master
Other Linux
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks: 621874
 
 
Reported: 2010-06-16 12:14 UTC by Craig Keogh
Modified: 2010-06-18 10:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Craig Keogh 2010-06-16 12:14:16 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
Comment 1 Craig Keogh 2010-06-17 11:00:30 UTC
g_bus_watch_proxy, g_bus_unwatch_proxy deleted in this commit:

http://git.gnome.org/browse/glib/commit/?id=32f2e9a85beedeea36ac7623f68f6eb878465d44
Comment 2 Carlos Garcia Campos 2010-06-17 13:29:31 UTC
I'll fix it as soon as new glib is released. Thanks for reporting.
Comment 3 Carlos Garcia Campos 2010-06-18 10:22:27 UTC
Fixed in git master.