[Xfce4-commits] <exo:master> Fix compilation error (bug #6421).
Nick Schermer
noreply at xfce.org
Tue May 4 16:46:01 CEST 2010
Updating branch refs/heads/master
to 97b9c443baf879580ed851525a3150913c89ec10 (commit)
from 10da3f2b5ff62fd4c9e29f946374363ef0eeeab8 (commit)
commit 97b9c443baf879580ed851525a3150913c89ec10
Author: Nick Schermer <nick at xfce.org>
Date: Tue May 4 16:43:48 2010 +0200
Fix compilation error (bug #6421).
Comparison between different enum types. Comparison
is wrong too.
exo-icon-view.c: In function 'IA__exo_icon_view_set_drag_dest_item':
exo-icon-view.c:7160:11: error: comparison between 'ExoIconViewDropPosition'
and 'enum <anonymous>'
exo/exo-icon-view.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c
index b1afd7a..d45b8b1 100644
--- a/exo/exo-icon-view.c
+++ b/exo/exo-icon-view.c
@@ -7157,7 +7157,8 @@ exo_icon_view_set_drag_dest_item (ExoIconView *icon_view,
/* special case a drop on an empty model */
icon_view->priv->empty_view_drop = FALSE;
- if (pos == GTK_TREE_VIEW_DROP_BEFORE && path
+ if (pos == EXO_ICON_VIEW_NO_DROP
+ && path != NULL
&& gtk_tree_path_get_depth (path) == 1
&& gtk_tree_path_get_indices (path)[0] == 0)
{
More information about the Xfce4-commits
mailing list