Commit c5033b38 authored by Tristan Van Berkom's avatar Tristan Van Berkom

Dont connect event handlers to child objects of fixed containers that are


	* gladeui/glade-fixed.c: Dont connect event handlers to child objects of fixed
	  containers that are not widgets.


svn path=/trunk/; revision=1484
parent f3e647a4
......@@ -19,6 +19,9 @@
GladeDesignLayout and dispatch the event through glade_design_layout_widget_event()
(this fixes multiple projects recieving the same events, bug 456013).
* gladeui/glade-fixed.c: Dont connect event handlers to child objects of fixed
containers that are not widgets.
2006-07-16 Tristan Van Berkom <tvb@gnome.org>
* src/glade-window.c: Now undocked windows can be redocked by hitting
......
......@@ -676,7 +676,11 @@ glade_fixed_add_child_impl (GladeWidget *gwidget_fixed,
/* Chain up for the basic parenting */
GLADE_WIDGET_CLASS (parent_class)->add_child
(GLADE_WIDGET (fixed), child, at_mouse);
/* We only operate on widgets here */
if (!GTK_IS_WIDGET (child->object))
return;
gtk_widget_add_events (GTK_WIDGET (child->object),
GDK_POINTER_MOTION_MASK |
GDK_POINTER_MOTION_HINT_MASK |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment