summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDamon Chaplin <damon@gnome.org>2004-05-05 16:31:34 +0000
committerDamon Chaplin <damon@src.gnome.org>2004-05-05 16:31:34 +0000
commit635a2b0f5423a5fb64ffecd2f1d9980c6303d3db (patch)
tree4f7b08a01a8fb74464cdfee21f759c1ca01545e4 /src
parent1efa2a7d26bc550a3c87e6af84d84efec4e2a936 (diff)
downloadglade-635a2b0f5423a5fb64ffecd2f1d9980c6303d3db.tar.gz
don't accept placeholders. They are handled separately, using their own
2004-05-05 Damon Chaplin <damon@gnome.org> * 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.
Diffstat (limited to 'src')
-rw-r--r--src/glade-widget.c2
1 files changed, 1 insertions, 1 deletions
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;
}