From: Christian Dywan Date: Thu, 16 Sep 2010 19:39:42 +0000 (+0200) Subject: Return FALSE in _action_bookmarks_populate_folder if db is NULL X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5806cdb88459b5323acafd9b3e1aa806b00235a5;p=midori Return FALSE in _action_bookmarks_populate_folder if db is NULL --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index b4db5b1f..26892ae5 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -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),