Title: [260185] trunk/Tools
Revision
260185
Author
[email protected]
Date
2020-04-16 07:55:32 -0700 (Thu, 16 Apr 2020)

Log Message

Unreviewed, GTK clean build fix after r260132.

* TestWebKitAPI/gtk/main.cpp:
(main): Don't use GtkVersioning here. A dependency on the WebCore
private headers for this single file is overkill.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (260184 => 260185)


--- trunk/Tools/ChangeLog	2020-04-16 14:25:56 UTC (rev 260184)
+++ trunk/Tools/ChangeLog	2020-04-16 14:55:32 UTC (rev 260185)
@@ -1,3 +1,11 @@
+2020-04-16  Philippe Normand  <[email protected]>
+
+        Unreviewed, GTK clean build fix after r260132.
+
+        * TestWebKitAPI/gtk/main.cpp:
+        (main): Don't use GtkVersioning here. A dependency on the WebCore
+        private headers for this single file is overkill.
+
 2020-04-16  Carlos Alberto Lopez Perez  <[email protected]>
 
         [GTK] MiniBrowser opens new windows too small causing failures on some WPT tests

Modified: trunk/Tools/TestWebKitAPI/gtk/main.cpp (260184 => 260185)


--- trunk/Tools/TestWebKitAPI/gtk/main.cpp	2020-04-16 14:25:56 UTC (rev 260184)
+++ trunk/Tools/TestWebKitAPI/gtk/main.cpp	2020-04-16 14:55:32 UTC (rev 260185)
@@ -26,11 +26,15 @@
 #include "config.h"
 #include "TestsController.h"
 
-#include <WebCore/GtkVersioning.h>
+#include <gtk/gtk.h>
 
 int main(int argc, char** argv)
 {
+#if USE(GTK4)
+    gtk_init();
+#else
     gtk_init(&argc, &argv);
+#endif
 
     return TestWebKitAPI::TestsController::singleton().run(argc, argv) ? EXIT_SUCCESS : EXIT_FAILURE;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to