Remove second call of GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).

2008-05-22  Hiroyuki Ikezoe  <poincare@ikezoe.net>

	* gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
	GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).

svn path=/trunk/; revision=20126
This commit is contained in:
Hiroyuki Ikezoe 2008-05-21 21:00:10 +00:00 committed by Björn Lindqvist
parent 902ac34a1d
commit e7c7c4b999
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
* gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
2008-05-21 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c:

View File

@ -334,8 +334,6 @@ gtk_socket_realize (GtkWidget *widget)
_gtk_socket_windowing_filter_func,
widget);
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
/* We sync here so that we make sure that if the XID for
* our window is passed to another application, SubstructureRedirectMask
* will be set by the time the other app creates its window.