gtk+ r17515 - in trunk: . gdk/x11 gtk



Author: mitch
Date: 2007-03-14 13:55:12 +0000 (Wed, 14 Mar 2007)
New Revision: 17515
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17515&view=rev

Modified:
   trunk/ChangeLog
   trunk/gdk/x11/gdkinput.c
   trunk/gtk/gtkwidget.c
Log:
2007-03-14  Michael Natterer  <mitch imendio com>

	Make gtk_widget_set_extension_events() work on already realized
	widgets (bug #379550, Tommi Komulainen)

	* gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
	called multiple times without leaking and work correctly when
	already realized (don't rely on a configure event following).

	* gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
	internal function which walks the GdkWindow tree and sets the
	extension events on all windows that belong to the widget.

	(gtk_widget_realize)
	(gtk_widget_set_extension_events): use the new function.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]