From 635a2b0f5423a5fb64ffecd2f1d9980c6303d3db Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Wed, 5 May 2004 16:31:34 +0000 Subject: don't accept placeholders. They are handled separately, using their own 2004-05-05 Damon Chaplin * src/glade-widget.c (glade_widget_find_inside_container): don't accept placeholders. They are handled separately, using their own signal handlers. This avoids a crash, though there is still an odd bug when trying to select the top-left placeholder in a table. --- src/glade-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/glade-widget.c b/src/glade-widget.c index 4b53331b..d64559fb 100644 --- a/src/glade-widget.c +++ b/src/glade-widget.c @@ -507,7 +507,7 @@ glade_widget_find_inside_container (GtkWidget *widget, GladeFindInContainerData gtk_widget_translate_coordinates (data->toplevel, widget, data->x, data->y, &x, &y); if (x >= 0 && x < widget->allocation.width && y >= 0 && y < widget->allocation.height && - (glade_widget_get_from_gtk_widget (widget) || GLADE_IS_PLACEHOLDER (widget))) + (glade_widget_get_from_gtk_widget (widget))) data->found = widget; } -- cgit v1.2.1