[GTK] Fix incorrect cast
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Feb 2016 06:19:08 +0000 (06:19 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Feb 2016 06:19:08 +0000 (06:19 +0000)
Unreviewed.

* MiniBrowser/gtk/main.c:
(createBrowserWindow):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@197241 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/MiniBrowser/gtk/main.c

index 2087cd9..cc1b553 100644 (file)
@@ -1,3 +1,12 @@
+2016-02-26  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        [GTK] Fix incorrect cast
+
+        Unreviewed.
+
+        * MiniBrowser/gtk/main.c:
+        (createBrowserWindow):
+
 2016-02-26  Chris Dumez  <cdumez@apple.com>
 
         Fix the behavior of reflecting IDL attributes of type unsigned long
index 457435c..85e21a1 100644 (file)
@@ -69,7 +69,7 @@ static void createBrowserWindow(const gchar *uri, WebKitSettings *webkitSettings
     if (backgroundColor)
         browser_window_set_background_color(BROWSER_WINDOW(mainWindow), backgroundColor);
     if (geometry)
-        gtk_window_parse_geometry(BROWSER_WINDOW(mainWindow), geometry);
+        gtk_window_parse_geometry(GTK_WINDOW(mainWindow), geometry);
 
     if (webkitSettings)
         webkit_web_view_set_settings(WEBKIT_WEB_VIEW(webView), webkitSettings);