diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-07 23:45:48 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-07 23:47:40 +0900 |
commit | fc5cabba90393246886c8122851646ec979b19fa (patch) | |
tree | 29bff828dfefccf9f0e821032fb86887eaeead4e /gtk/gtkwidget.h | |
parent | 503be101480b47a098146ac6ac2900fc16855124 (diff) | |
download | gtk+-fc5cabba90393246886c8122851646ec979b19fa.tar.gz |
Added minimum size parameter to GtkWidgetClass->adjust_size_allocation.
This allows us to add a check before executing
->get_preferred_height_for_width() to ensure we always
request for at least the minimum required size (and lets
us remove the warning in gtkcontainer.c telling implementors
to do this check manually from thier container implementations).
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r-- | gtk/gtkwidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 04f7772daf..2a079ea0b6 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -415,6 +415,7 @@ struct _GtkWidgetClass gint *natural_size); void (* adjust_size_allocation) (GtkWidget *widget, GtkOrientation orientation, + gint *minimum_size, gint *natural_size, gint *allocated_pos, gint *allocated_size); |