]> spindle.queued.net Git - midori/commitdiff
Return FALSE in _action_bookmarks_populate_folder if db is NULL
authorChristian Dywan <christian@twotoasts.de>
Thu, 16 Sep 2010 19:39:42 +0000 (21:39 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 17 Sep 2010 20:42:52 +0000 (22:42 +0200)
midori/midori-browser.c

index b4db5b1fd569926352b02ad56092806e66a6a45f..26892ae5dce1f7896ac5c6ff1b0b606684dace77 100644 (file)
@@ -2825,7 +2825,7 @@ _action_bookmarks_populate_folder (GtkAction*     action,
     GtkWidget* menuitem;
 
     if (!db)
-        return;
+        return FALSE;
 
     /* Clear items from dummy array here */
     gtk_container_foreach (GTK_CONTAINER (menu),