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 615986 - BONOBO_UI_VERB raises "missing initializer" for dummy pointer
BONOBO_UI_VERB raises "missing initializer" for dummy pointer
Status: RESOLVED FIXED
Product: bonobo
Classification: Deprecated
Component: libbonoboui
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Michael Meeks
bonobo qa
Depends on:
Blocks:
 
 
Reported: 2010-04-16 19:40 UTC by Kevin Turner
Modified: 2010-04-20 10:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch bonobo-ui-component.h for BonoboUIVerb macros (1.15 KB, patch)
2010-04-16 19:40 UTC, Kevin Turner
accepted-commit_now Details | Review

Description Kevin Turner 2010-04-16 19:40:09 UTC
Created attachment 158920 [details] [review]
patch bonobo-ui-component.h for BonoboUIVerb macros

For example:

applet-main.c: In function ‘applet_fill_cb’:
applet-main.c:507: warning: missing initializer
applet-main.c:507: warning: (near initialization for ‘menu_verbs[0].dummy’)

The attached patch changes the macro so it initializes the dummy pointer to NULL.
Comment 1 Michael Meeks 2010-04-19 14:10:49 UTC
Review of attachment 158920 [details] [review]:

Patch looks perfect, only about a decade late ;-)
Please do commit it.
Comment 2 Kevin Turner 2010-04-19 17:39:24 UTC
I think my gnome.org credentials are expired by at least half a decade, you may have to apply that patch for me.
Comment 3 Michael Meeks 2010-04-20 10:08:37 UTC
committed and pushed.
Thanks :-)