From: Christian Dywan Date: Wed, 19 Jan 2011 21:29:26 +0000 (+0100) Subject: Correct invalid folder condition once more X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59e924fb9a197b9442548133f7c8b1c2592ac856;p=midori Correct invalid folder condition once more --- 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));