GNOME Bugzilla – Bug 635571
Compile fails in gtkhtml/gtkhtml-embedded.c on gtk3 branch
Last modified: 2010-12-26 07:29:36 UTC
As a result of running into bug #634532, I'm now trying to build the gtk3 branch of gtkhtml. The compile fails as follows: Making all in gtkhtml make[2]: Entering directory `/home/frank/checkout/gnome/gtkhtml/gtkhtml' CC gtkhtml-embedded.lo CC gtkhtml-properties.lo CC gtkhtml-search.lo gtkhtml-embedded.c: In function 'gtk_html_embedded_class_init': gtkhtml-embedded.c:204:14: error: 'GtkWidgetClass' has no member named 'size_request' make[2]: *** [gtkhtml-embedded.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/home/frank/checkout/gnome/gtkhtml/gtkhtml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/frank/checkout/gnome/gtkhtml' make: *** [all] Error 2 Does the gtk3 branch require that some other modules also be built with something other than their master branches? TIA.
Created attachment 175237 [details] [review] Patch for build failure as size_request is deprecated Using get_preferred_width and get_preferred_height instead of size_request.
There are two more locations where size_request is used (beyond Vibha Yadav's patch): components/editor/gtkhtml-color-combo.c:714:14 components/editor/gtkhtml-color-swatch.c:177:14
Created attachment 175301 [details] [review] Patch for build failure as size_request is deprecated Including patch for above mentioned locations too.
Review of attachment 175301 [details] [review]: looks good. please commit.
*** Bug 636178 has been marked as a duplicate of this bug. ***
Committed patch to gtk3 branch.
*** Bug 636900 has been marked as a duplicate of this bug. ***
*** Bug 633458 has been marked as a duplicate of this bug. ***