From 57c30ff319cb038ed29d9b3ccf75c1934a0b63ea Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 29 Nov 2010 22:58:03 +0100 Subject: [PATCH] Protect against unset meta string folder --- panels/midori-bookmarks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c index 95b14c9a..d2e34c4b 100644 --- a/panels/midori-bookmarks.c +++ b/panels/midori-bookmarks.c @@ -237,7 +237,7 @@ midori_bookmarks_add_item_cb (KatzeArray* array, { GtkTreeModel* model; model = gtk_tree_view_get_model (GTK_TREE_VIEW (bookmarks->treeview)); - if (!strcmp (katze_item_get_meta_string (item, "folder"), "")) + if (!g_strcmp0 (katze_item_get_meta_string (item, "folder"), "")) gtk_tree_store_insert_with_values (GTK_TREE_STORE (model), NULL, NULL, G_MAXINT, 0, item, -1); else -- 2.39.5