diff options
author | Damon Chaplin <damon@gnome.org> | 2004-05-05 16:31:34 +0000 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2004-05-05 16:31:34 +0000 |
commit | 635a2b0f5423a5fb64ffecd2f1d9980c6303d3db (patch) | |
tree | 4f7b08a01a8fb74464cdfee21f759c1ca01545e4 /src | |
parent | 1efa2a7d26bc550a3c87e6af84d84efec4e2a936 (diff) | |
download | glade-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.c | 2 |
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; } |