GNOME Bugzilla – Bug 448193
gtkbuilder.h causes compile error with C++
Last modified: 2007-06-18 08:30:22 UTC
gtkbuilder.h causes a compile error with C++ because it uses the "typename" keyword as a parameter name.
Created attachment 90064 [details] [review] fix
Confirming, evince doesn't build with GTK+ 2.11.3 due to it
Comment on attachment 90064 [details] [review] fix Looks good, but you need to update the variable names and doc strings in gtkbuilder.c as well.
The typename argument is also used in gtkbuildable.h which is public, it also needs to be updated.
I don't see any "typename" in gtkbuildable.h ? * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name), (gtk_builder_get_type_from_name): * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter name. Bug #448193.
*** Bug 448682 has been marked as a duplicate of this bug. ***
*** Bug 447905 has been marked as a duplicate of this bug. ***