<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Text entries (and maybe also everything) to be broken in GTK+ 3.19.1"
href="https://bugs.webkit.org/show_bug.cgi?id=150550#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Text entries (and maybe also everything) to be broken in GTK+ 3.19.1"
href="https://bugs.webkit.org/show_bug.cgi?id=150550">bug 150550</a>
from <span class="vcard"><a class="email" href="mailto:mcatanzaro@igalia.com" title="Michael Catanzaro <mcatanzaro@igalia.com>"> <span class="fn">Michael Catanzaro</span></a>
</span></b>
<pre>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.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>