GNOME Bugzilla – Bug 709007
Redefining GtkJustification
Last modified: 2013-10-01 11:58:25 UTC
goffice/graph/gog-renderer.h seems to redefine GtkJustification when goffice is compiled without gtk+. That's not good in a header. With this, the header cannot be used in a program that uses gtk+ itself.
The easy fix is to replace with GoJustification or so, but this would be an API break.
Created attachment 256089 [details] [review] Proposed patch
Looks good. I think old code using GTK_... should still work with this patch since C allows mixing different enums and because the enum values used are the same. That means that the old API breaking is that the type of gog_renderer_draw_... changed in an argument. It is very unlikely that anyones stores a function pointer to those anywhere, so go ahead and commit.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.