[Xfce4-commits] <midori:master> Don't try to release references to dummy separator rows
Christian Dywan
noreply at xfce.org
Mon Jul 5 00:14:05 CEST 2010
Updating branch refs/heads/master
to e70bc2cb752db09a1613d826e896fbc57269361c (commit)
from 76ea968e20c76a0ab22ec921f0642af8d77384e7 (commit)
commit e70bc2cb752db09a1613d826e896fbc57269361c
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Jul 4 23:59:01 2010 +0200
Don't try to release references to dummy separator rows
panels/midori-bookmarks.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c
index 5e90795..0a1e7b3 100644
--- a/panels/midori-bookmarks.c
+++ b/panels/midori-bookmarks.c
@@ -203,7 +203,8 @@ midori_bookmarks_read_from_db_to_model (MidoriBookmarks* bookmarks,
gtk_tree_model_get (GTK_TREE_MODEL (model), &child, 0, &item, -1);
if (KATZE_ITEM_IS_SEPARATOR (item))
gtk_tree_store_remove (model, &child);
- g_object_unref (item);
+ else
+ g_object_unref (item);
}
void
More information about the Xfce4-commits
mailing list