Use GLib timeout rather than the dusty GTK+ API

This commit is contained in:
Christian Dywan 2011-08-18 18:05:57 +02:00
parent 74a1e66879
commit 49f15f741e

View file

@ -1253,7 +1253,7 @@ midori_browser_notify_new_tab (MidoriBrowser *browser)
if (katze_object_get_boolean (browser->settings, "flash-window-on-new-bg-tabs"))
{
gtk_window_set_opacity (GTK_WINDOW (browser), 0.8);
gtk_timeout_add (100, (GtkFunction) midori_browser_notify_new_tab_timeout_cb, browser);
g_timeout_add (100, (GSourceFunc) midori_browser_notify_new_tab_timeout_cb, browser);
}
}