summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkiconview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 240e3739cd..c517b0fb90 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -3503,11 +3503,11 @@ gtk_icon_view_get_item_at_coords (GtkIconView *icon_view,
}
}
- if (only_in_cell)
- return NULL;
-
if (cell_at_pos)
*cell_at_pos = NULL;
+
+ if (only_in_cell)
+ return NULL;
}
return item;