Suggest g_signal_connect (..., "realize", ...) instead of

2007-12-14  Ray Strode  <rstrode@redhat.com>

	* gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
	instead of g_signal_connect_after (..., "realize", ...) as an
	alternative to gtk_widget_realize () (bug 503537).

svn path=/trunk/; revision=19181
This commit is contained in:
Ray Strode 2007-12-14 17:06:08 +00:00 committed by Ray Strode
parent a84ac8e3d8
commit 8609315d28
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2007-12-14 Ray Strode <rstrode@redhat.com>
* gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
instead of g_signal_connect_after (..., "realize", ...) as an
alternative to gtk_widget_realize () (bug 503537).
2007-12-14 Michael Natterer <mitch@imendio.com>
* gdk/gdkinternals.h

View File

@ -3225,7 +3225,7 @@ gtk_widget_set_extension_events_internal (GtkWidget *widget,
* isn't very useful otherwise. Many times when you think you might
* need it, a better approach is to connect to a signal that will be
* called after the widget is realized automatically, such as
* GtkWidget::expose-event. Or simply g_signal_connect_after() to the
* GtkWidget::expose-event. Or simply g_signal_connect () to the
* GtkWidget::realize signal.
**/
void