Correct invalid folder condition once more

This commit is contained in:
Christian Dywan 2011-01-19 22:29:26 +01:00
parent 84beea9108
commit 59e924fb9a

View file

@ -242,8 +242,8 @@ midori_bookmarks_insert_item_db (sqlite3* db,
gchar* parent; gchar* parent;
gchar* uri; gchar* uri;
g_return_if_fail (katze_item_get_name (item) /* Bookmarks must have a name, import may produce invalid items */
&& katze_item_get_uri (item)); g_return_if_fail (katze_item_get_name (item));
if (KATZE_ITEM_IS_BOOKMARK (item)) if (KATZE_ITEM_IS_BOOKMARK (item))
uri = g_strdup (katze_item_get_uri (item)); uri = g_strdup (katze_item_get_uri (item));