]> spindle.queued.net Git - midori/commitdiff
Cast MidoriView in _midori_browser_set_statusbar_text
authorPaweł Forysiuk <tuxator@o2.pl>
Mon, 4 Jun 2012 20:42:08 +0000 (22:42 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 11 Jun 2012 21:08:48 +0000 (23:08 +0200)
midori/midori-browser.c

index bae714ac9747c4c0839a56081fe9990e519e31f2..5267d83c1c39cb81c294cc31b2d5944c0cc0f986 100644 (file)
@@ -409,7 +409,7 @@ _midori_browser_set_statusbar_text (MidoriBrowser* browser,
         #else
         GtkAction* action = _action_by_name (browser, "Location");
         MidoriLocationAction* location_action = MIDORI_LOCATION_ACTION (action);
-        midori_browser_update_secondary_icon (browser, view, action);
+        midori_browser_update_secondary_icon (browser, MIDORI_VIEW (view), action);
         midori_location_action_set_text (location_action,
             midori_view_get_display_uri (MIDORI_VIEW (view)));
         #endif