summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2013-04-27 23:16:11 +0200
committerBenjamin Otte <otte@redhat.com>2013-05-01 16:41:11 +0200
commit1349292e4744db7914cb98c407ccd3004eb50c5b (patch)
tree0a15850ec45ae75f2db164426b44e7d78c75d9b6 /gtk/gtkmenubar.c
parent8f0659071278ae8222f154bd03d4690b275b6ff1 (diff)
downloadgtk+-1349292e4744db7914cb98c407ccd3004eb50c5b.tar.gz
widget: Adapt _gtk_widget_get_preferred_size_for_size()
... for baseline support byu taking two extra (possible NULL) arguments.
Diffstat (limited to 'gtk/gtkmenubar.c')
-rw-r--r--gtk/gtkmenubar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index 62615cc711..ec67a11f99 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -356,7 +356,7 @@ gtk_menu_bar_size_request (GtkWidget *widget,
if (gtk_widget_get_visible (child))
{
- _gtk_widget_get_preferred_size_for_size (child, orientation, size, &child_minimum, &child_natural);
+ _gtk_widget_get_preferred_size_for_size (child, orientation, size, &child_minimum, &child_natural, NULL, NULL);
if (use_toggle_size)
{