Use GLib timeout rather than the dusty GTK+ API
This commit is contained in:
parent
74a1e66879
commit
49f15f741e
1 changed files with 1 additions and 1 deletions
|
@ -1253,7 +1253,7 @@ midori_browser_notify_new_tab (MidoriBrowser *browser)
|
||||||
if (katze_object_get_boolean (browser->settings, "flash-window-on-new-bg-tabs"))
|
if (katze_object_get_boolean (browser->settings, "flash-window-on-new-bg-tabs"))
|
||||||
{
|
{
|
||||||
gtk_window_set_opacity (GTK_WINDOW (browser), 0.8);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue