]> spindle.queued.net Git - midori/commitdiff
Add a type cast to resolve a warning in MidoriBrowser
authorChristian Dywan <christian@twotoasts.de>
Sun, 17 May 2009 00:54:50 +0000 (02:54 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 17 May 2009 00:54:50 +0000 (02:54 +0200)
midori/midori-browser.c

index be2527127b2b5c96bdae1c04dde725189a60f41b..bd436b9ea8550996e760ee085a82cdcb417ac6ef 100644 (file)
@@ -492,7 +492,7 @@ midori_view_notify_load_status_cb (GtkWidget*      view,
            with speed dial open. */
         if (midori_view_get_load_status (MIDORI_VIEW (view))
             == MIDORI_LOAD_FINISHED)
-            if (midori_view_is_blank (view))
+            if (midori_view_is_blank (MIDORI_VIEW (view)))
                 gtk_action_activate (_action_by_name (browser, "Location"));
     }