GNOME Bugzilla – Bug 383497
build fails: deprecated macros used in libbonoboui
Last modified: 2006-12-10 15:59:28 UTC
Please describe the problem: The deprecated macro GNOME_CLASS_BOILERPLATE is used in both bonobo-dock.c and bonobo-dock-item.c. This was using HEAD libbonoboui against HEAD libgnome. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Quick "fix" removing -DGNOME_DISABLE_DEPRECATED from bonobo/Makefile.am Long fix using G_DEFINE_TYPE and so on to replace deprecated parts.
yep, I know. I managed to work around it fine. I'm just making sure you guys know. Are bug reports of this nature helpful or needed?
Created attachment 78004 [details] [review] remove dependency on deprecated gnome-macros Here is a patch that removes the dependency on GNOME_CLASS_BOILERPLATE and GNOME_CALL_PARENT, using the recommended G_DEFINE_TYPE. There is a discussion [1] about provide a macro replacement for GNOME_CALL_PARENT, but as long as I saw the only bad point about don't use this macro it's the *big* name of the parent class and this can be error prone. I'll post to [1] telling about this patch. Anyway, there was places in bonoboui that simply doesn't use GNOME_CALL_PARENT, so this could indicate that this macro is really unnecessary. [1] http://bugzilla.gnome.org/show_bug.cgi?id=327840
*** Bug 383339 has been marked as a duplicate of this bug. ***
Ben: of course , please report build failures.
Fixed in CVS. The fix will go into the next patch release. Thank you for your bug report. Thanks for the patch :-)