[Webkit-unassigned] [Bug 150550] [GTK] Text entries (and maybe also everything) to be broken in GTK+ 3.19.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 26 18:55:47 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=150550

--- Comment #4 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Company added gtk_widget_path_iter_set_object_name, but I'm having no luck with it.

I was hoping something like this would be all that's needed:

--- a/Source/WebCore/rendering/RenderThemeGtk.cpp
+++ b/Source/WebCore/rendering/RenderThemeGtk.cpp
@@ -170,7 +170,7 @@ static GtkStyleContext* getStyleContext(GType widgetType)
     gtk_widget_path_append_type(path, widgetType);

     if (widgetType == GTK_TYPE_ENTRY)
-        gtk_widget_path_iter_add_class(path, 0, GTK_STYLE_CLASS_ENTRY);
+        gtk_widget_path_iter_set_object_name(path, 0, "entry");
     else if (widgetType == GTK_TYPE_ARROW)
         gtk_widget_path_iter_add_class(path, 0, "arrow");
     else if (widgetType == GTK_TYPE_BUTTON) {

But that doesn't make any difference in rendering, unfortunately.

(There are a couple more uses of GTK_STYLE_CLASS_ENTRY in that file, but the first one just adds the style class to a GtkStyleContext already guaranteed to have it, and the next one just removes it from one guaranteed to not have it, so they were both already useless.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151027/1b59aa6c/attachment.html>


More information about the webkit-unassigned mailing list