GNOME Bugzilla – Bug 363036
Fix all compiler warnings
Last modified: 2007-01-08 10:21:39 UTC
This bug addresses all remaining compiler warnings in GtkHTML. Well, almost. There are still several warnings that look something like: In file included from /usr/include/libbonobo-2.0/bonobo/bonobo-generic-factory.h:16, from /usr/include/libbonobo-2.0/libbonobo.h:36, from /usr/include/libbonoboui-2.0/libbonoboui.h:14, from /usr/include/libbonoboui-2.0/bonobo.h:14, from control-data.h:32, from body.h:27, from body.c:39: /usr/include/libbonobo-2.0/bonobo/bonobo-i18n.h:47:1: warning: "_" redefined In file included from body.c:25: /home/mbarnes/include/glib-2.0/glib/gi18n-lib.h:30:1: warning: this is the location of the previous definition But I blame this on Bonobo (see bug #363033).
Created attachment 74913 [details] Compiler warnings before the patch
Created attachment 74914 [details] Compiler warnings after the patch
Created attachment 74915 [details] [review] Proposed patch This patch obsoletes attachment #74285 [details] in bug #360619.
I should also mention that this patch changes the API slightly in components/html-editor/dialog.h. I ditched the RUN_DIALOG macro and rewrote run_dialog() to take a (GtkDialog **) instead of a (GtkDialog ***). Triple-pointers are just silly.
Confirming...
This bug is obsoleted by bug #394182. Attachment #74915 [details] has been folded into a larger "code cleanup" patch.