Cast MidoriView in _midori_browser_set_statusbar_text

This commit is contained in:
Paweł Forysiuk 2012-06-04 22:42:08 +02:00 committed by Christian Dywan
parent 4a1e547cdb
commit 0b14449f68

View 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