mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 23:50:16 +00:00
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.
This commit is contained in:
parent
1448111a58
commit
22d01c45cc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user