Title: [244500] trunk/Source/WebKit
Revision
244500
Author
commit-qu...@webkit.org
Date
2019-04-22 09:31:41 -0700 (Mon, 22 Apr 2019)

Log Message

[GTK] fix gtk_style_context_set_background deprecation
https://bugs.webkit.org/show_bug.cgi?id=196912

Patch by Ludovico de Nittis <ludovico.denit...@collabora.com> on 2019-04-22
Reviewed by Carlos Garcia Campos.

Since gtk 3.18 gtk_style_context_set_background has been deprecated.
Backgrounds are not rendered in the UI process, so it can be
simply removed.

* UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseRealize):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (244499 => 244500)


--- trunk/Source/WebKit/ChangeLog	2019-04-22 15:50:55 UTC (rev 244499)
+++ trunk/Source/WebKit/ChangeLog	2019-04-22 16:31:41 UTC (rev 244500)
@@ -1,3 +1,17 @@
+2019-04-22  Ludovico de Nittis  <ludovico.denit...@collabora.com>
+
+        [GTK] fix gtk_style_context_set_background deprecation
+        https://bugs.webkit.org/show_bug.cgi?id=196912
+
+        Reviewed by Carlos Garcia Campos.
+
+        Since gtk 3.18 gtk_style_context_set_background has been deprecated.
+        Backgrounds are not rendered in the UI process, so it can be
+        simply removed.
+
+        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
+        (webkitWebViewBaseRealize):
+
 2019-04-21  Wenson Hsieh  <wenson_hs...@apple.com>
 
         Defer EditorState updates until the next layer tree flush in a few additional circumstances

Modified: trunk/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp (244499 => 244500)


--- trunk/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp	2019-04-22 15:50:55 UTC (rev 244499)
+++ trunk/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp	2019-04-22 16:31:41 UTC (rev 244500)
@@ -383,8 +383,6 @@
     }
 #endif
 
-    gtk_style_context_set_background(gtk_widget_get_style_context(widget), window);
-
     gtk_im_context_set_client_window(priv->inputMethodFilter.context(), window);
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to