]> spindle.queued.net Git - midori/commitdiff
midori_browser_notify_new_tab_timeout_cb must be boolean
authorChristian Dywan <christian@twotoasts.de>
Wed, 7 Mar 2012 23:52:15 +0000 (00:52 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 8 Mar 2012 00:10:54 +0000 (01:10 +0100)
midori/midori-browser.c

index d21cb04ba7c724a1b69a2b2d7cf3255fbe95a027..bdaab0bb5c13ec4603fa8d3a580ae9c279bf88b3 100644 (file)
@@ -1211,11 +1211,11 @@ midori_browser_view_copy_history (GtkWidget* view_to,
     }
 }
 
-static gint
+static gboolean
 midori_browser_notify_new_tab_timeout_cb (MidoriBrowser *browser)
 {
     gtk_window_set_opacity (GTK_WINDOW (browser), 1);
-    return 0;
+    return G_SOURCE_REMOVE;
 }
 
 static void