diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-13 08:59:56 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-13 08:59:56 +0000 |
commit | 8f38c085b08b7da429f6118619b5ff9b525043ab (patch) | |
tree | 90f15dad250fe31fba9b898daa51a71ad15021bc /src/gtkutils.c | |
parent | 7a133d95f9b475a56777de2004c37f0f9838c948 (diff) |
made rules hint configurable. Removed debug code.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@253 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/gtkutils.c')
-rw-r--r-- | src/gtkutils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtkutils.c b/src/gtkutils.c index 8e5c16f1..23e42bec 100644 --- a/src/gtkutils.c +++ b/src/gtkutils.c @@ -535,7 +535,13 @@ gboolean gtkut_tree_row_reference_equal(GtkTreeRowReference *ref1, return FALSE; path1 = gtk_tree_row_reference_get_path(ref1); + if (!path1) + return FALSE; path2 = gtk_tree_row_reference_get_path(ref2); + if (!path2) { + gtk_tree_path_free(path1); + return FALSE; + } result = gtk_tree_path_compare(path1, path2); |