[Xfce4-commits] <exo:xfce-4.6> Fix compilation error (bug #6421).
Nick Schermer
noreply at xfce.org
Tue May 11 21:04:02 CEST 2010
Updating branch refs/heads/xfce-4.6
to 9767de3ffa1169e08f8990a6194efe7c870f01f1 (commit)
from c85fffcfa78dec9ae12251b9d2974927745ba7ce (commit)
commit 9767de3ffa1169e08f8990a6194efe7c870f01f1
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 bdd6df0..a55880b 100644
--- a/exo/exo-icon-view.c
+++ b/exo/exo-icon-view.c
@@ -7378,7 +7378,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