Title: [213776] trunk/Source/WebKit2
- Revision
- 213776
- Author
- [email protected]
- Date
- 2017-03-12 17:34:38 -0700 (Sun, 12 Mar 2017)
Log Message
[GTK] Unbreak build with GTK+ >=3.20 after r213772
https://bugs.webkit.org/show_bug.cgi?id=169533
Patch by Adrian Perez de Castro <[email protected]> on 2017-03-12
Reviewed by Michael Catanzaro.
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkitWebViewRunFileChooser): Add missing cast.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (213775 => 213776)
--- trunk/Source/WebKit2/ChangeLog 2017-03-13 00:16:54 UTC (rev 213775)
+++ trunk/Source/WebKit2/ChangeLog 2017-03-13 00:34:38 UTC (rev 213776)
@@ -1,5 +1,15 @@
2017-03-12 Adrian Perez de Castro <[email protected]>
+ [GTK] Unbreak build with GTK+ >=3.20 after r213772
+ https://bugs.webkit.org/show_bug.cgi?id=169533
+
+ Reviewed by Michael Catanzaro.
+
+ * UIProcess/API/gtk/WebKitWebView.cpp:
+ (webkitWebViewRunFileChooser): Add missing cast.
+
+2017-03-12 Adrian Perez de Castro <[email protected]>
+
[GTK] File choosers should run as modal by default if possible
https://bugs.webkit.org/show_bug.cgi?id=169526
Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp (213775 => 213776)
--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp 2017-03-13 00:16:54 UTC (rev 213775)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp 2017-03-13 00:34:38 UTC (rev 213776)
@@ -568,7 +568,7 @@
GtkFileChooserNative* dialog = gtk_file_chooser_native_new(allowsMultipleSelection ? _("Select Files") : _("Select File"),
toplevel ? GTK_WINDOW(toplevel) : nullptr, GTK_FILE_CHOOSER_ACTION_OPEN, nullptr, nullptr);
if (toplevel)
- gtk_native_dialog_set_modal(dialog, TRUE);
+ gtk_native_dialog_set_modal(GTK_NATIVE_DIALOG(dialog), TRUE);
#else
GtkWidget* dialog = gtk_file_chooser_dialog_new(allowsMultipleSelection ? _("Select Files") : _("Select File"),
toplevel ? GTK_WINDOW(toplevel) : 0,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes