Return FALSE in _action_bookmarks_populate_folder if db is NULL

This commit is contained in:
Christian Dywan 2010-09-16 21:39:42 +02:00
parent b66902ef7a
commit 5806cdb884

View 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),