[Xfce4-commits] <midori:master> Protect against unset meta string folder
Christian Dywan
noreply at xfce.org
Tue Nov 30 18:16:02 CET 2010
Updating branch refs/heads/master
to 57c30ff319cb038ed29d9b3ccf75c1934a0b63ea (commit)
from f9b2a75ae4d806be10f0f2612383e6fc2db06c62 (commit)
commit 57c30ff319cb038ed29d9b3ccf75c1934a0b63ea
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Nov 29 22:58:03 2010 +0100
Protect against unset meta string folder
panels/midori-bookmarks.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c
index 95b14c9..d2e34c4 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
More information about the Xfce4-commits
mailing list