KatzeItem* old_parent;
gchar* parent;
gchar* uri;
+ gchar* desc;
/* Bookmarks must have a name, import may produce invalid items */
g_return_if_fail (katze_item_get_name (item));
else
uri = g_strdup ("");
+ if (katze_item_get_text (item))
+ desc = g_strdup (katze_item_get_text (item));
+ else
+ desc = g_strdup ("");
+
/* Use folder, otherwise fallback to parent folder */
old_parent = katze_item_get_parent (item);
if (folder && *folder)
" ('%q', '%q', '%q', '%q', %d, %d)",
uri,
katze_item_get_name (item),
- katze_item_get_text (item),
+ desc,
parent,
katze_item_get_meta_boolean (item, "toolbar"),
katze_item_get_meta_boolean (item, "app"));
g_free (uri);
g_free (parent);
+ g_free (desc);
sqlite3_free (sqlcmd);
}