From 59e924fb9a197b9442548133f7c8b1c2592ac856 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 19 Jan 2011 22:29:26 +0100 Subject: [PATCH] Correct invalid folder condition once more --- panels/midori-bookmarks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c index d8c70da1..acdee81d 100644 --- a/panels/midori-bookmarks.c +++ b/panels/midori-bookmarks.c @@ -242,8 +242,8 @@ midori_bookmarks_insert_item_db (sqlite3* db, gchar* parent; gchar* uri; - g_return_if_fail (katze_item_get_name (item) - && katze_item_get_uri (item)); + /* Bookmarks must have a name, import may produce invalid items */ + g_return_if_fail (katze_item_get_name (item)); if (KATZE_ITEM_IS_BOOKMARK (item)) uri = g_strdup (katze_item_get_uri (item));