gtk2/appearance-crash.patch

25 lines
589 B
Diff

diff -up gtk+-2.17.7/gtk/gtkiconview.c.appearance-crash gtk+-2.17.7/gtk/gtkiconview.c
--- gtk+-2.17.7/gtk/gtkiconview.c.appearance-crash 2009-08-13 10:03:01.717854077 -0400
+++ gtk+-2.17.7/gtk/gtkiconview.c 2009-08-13 10:03:31.483855146 -0400
@@ -3498,16 +3498,16 @@ gtk_icon_view_get_item_at_coords (GtkIco
{
if (cell_at_pos)
*cell_at_pos = info;
-
+
return item;
}
}
- if (only_in_cell)
- return NULL;
-
if (cell_at_pos)
*cell_at_pos = NULL;
+
+ if (only_in_cell)
+ return NULL;
}
return item;