diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-10-15 05:25:56 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-15 05:25:56 +0000 |
commit | 63ffb56f1eb04c797508b65681b8044ae97df8af (patch) | |
tree | c3eab1a81b5b253904991b9b6ccbfe35262fc1c8 /gtk/gtksizegroup.c | |
parent | d0cc5dee2b41d6410a25caceb57d494fcdf25f0b (diff) | |
download | gtk+-63ffb56f1eb04c797508b65681b8044ae97df8af.tar.gz |
Unset GTK_REQUEST_NEEDED before emitting ::size-request, following this
2004-10-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksizegroup.c (do_size_request): Unset GTK_REQUEST_NEEDED
before emitting ::size-request, following this weeks discussion
on gtk-devel-list@gnome.org.
Diffstat (limited to 'gtk/gtksizegroup.c')
-rw-r--r-- | gtk/gtksizegroup.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c index 3a86420136..e96e21b405 100644 --- a/gtk/gtksizegroup.c +++ b/gtk/gtksizegroup.c @@ -491,12 +491,11 @@ do_size_request (GtkWidget *widget) { if (GTK_WIDGET_REQUEST_NEEDED (widget)) { - gtk_widget_ensure_style (widget); + gtk_widget_ensure_style (widget); + GTK_PRIVATE_UNSET_FLAG (widget, GTK_REQUEST_NEEDED); g_signal_emit_by_name (widget, "size_request", &widget->requisition); - - GTK_PRIVATE_UNSET_FLAG (widget, GTK_REQUEST_NEEDED); } } |