From: Christian Dywan Date: Thu, 18 Aug 2011 16:05:57 +0000 (+0200) Subject: Use GLib timeout rather than the dusty GTK+ API X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49f15f741ee6de74e5d4de87ca30632f43687e7c;p=midori Use GLib timeout rather than the dusty GTK+ API --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index f116863c..04042497 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -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); } }