Return FALSE in _action_bookmarks_populate_folder if db is NULL
This commit is contained in:
parent
b66902ef7a
commit
5806cdb884
1 changed files with 1 additions and 1 deletions
|
@ -2825,7 +2825,7 @@ _action_bookmarks_populate_folder (GtkAction* action,
|
||||||
GtkWidget* menuitem;
|
GtkWidget* menuitem;
|
||||||
|
|
||||||
if (!db)
|
if (!db)
|
||||||
return;
|
return FALSE;
|
||||||
|
|
||||||
/* Clear items from dummy array here */
|
/* Clear items from dummy array here */
|
||||||
gtk_container_foreach (GTK_CONTAINER (menu),
|
gtk_container_foreach (GTK_CONTAINER (menu),
|
||||||
|
|
Loading…
Reference in a new issue