summaryrefslogtreecommitdiff
path: root/gtk/gtkbbox.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-10-28 14:22:46 -0400
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-30 17:37:01 +0900
commit22d01c45cc7a033d5ca2623c5de6eb0ff2bd55cf (patch)
tree19736b83af622132c3ecb8ecf291a4e36c1ee875 /gtk/gtkbbox.c
parent1448111a581957b44ad82bb99558879642c5797b (diff)
downloadgtk+-22d01c45cc7a033d5ca2623c5de6eb0ff2bd55cf.tar.gz
GtkButtonBox doesn't do height-for-width
GtkButtonBox doesn't do height-for-width, therefore we should explicitly set these methods to NULL instead of hoping that the inherited GtkBox implementations work ok.
Diffstat (limited to 'gtk/gtkbbox.c')
-rw-r--r--gtk/gtkbbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c
index 346e9c520f..f1531b1eef 100644
--- a/gtk/gtkbbox.c
+++ b/gtk/gtkbbox.c
@@ -126,6 +126,8 @@ gtk_button_box_class_init (GtkButtonBoxClass *class)
widget_class->get_preferred_width = gtk_button_box_get_preferred_width;
widget_class->get_preferred_height = gtk_button_box_get_preferred_height;
+ widget_class->get_preferred_width_for_height = NULL;
+ widget_class->get_preferred_height_for_width = NULL;
widget_class->size_allocate = gtk_button_box_size_allocate;
container_class->remove = gtk_button_box_remove;