GNOME Bugzilla – Bug 508760
Compilatio warning fix
Last modified: 2009-10-15 02:12:22 UTC
Will attach a patch
Created attachment 102589 [details] [review] Fixes a compilation warning
For the approver: This is a very small change. Feel free to just commit, to save time (if that's more easy for you). Else let me know if I can.
2008-03-02 Johan Dahlin <johan@gnome.org> * gtk/gtkitemfactory.h: Use void instead of empty arguments. (#508760, Philip Van Hoof)
Thanks
This change broke the Gtk+ API. I now get a warning when compiling the project that I am a committer for (Wireshark) when using GtkItemFactoryCallback as a parameter in a function. We treat warnings as errors so I can't compile with the latest Gtk+ trunk anymore. There is even an explanation above the changed Gtk+ line stating that () must be used to avoid breaking compatibility. It has been changed to (void) as of SVN rev 19694 (which is how I found this bug).
Yeah, this is not ok and needs to be reverted.
This has been reverted, closing as WONTFIX.
Bug 598508 includes better fix.