From 5806cdb88459b5323acafd9b3e1aa806b00235a5 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 16 Sep 2010 21:39:42 +0200 Subject: [PATCH] Return FALSE in _action_bookmarks_populate_folder if db is NULL --- midori/midori-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.39.5