Add a type cast to resolve a warning in MidoriBrowser

This commit is contained in:
Christian Dywan 2009-05-17 02:54:50 +02:00
parent 0c6d0420b3
commit eaaed697bf

View 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"));
}