summaryrefslogtreecommitdiff
path: root/gtk/gtkpaned.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/gtkpaned.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/gtkpaned.c')
-rw-r--r--gtk/gtkpaned.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 4d16e4fe02..3203cea0ca 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -885,7 +885,7 @@ gtk_paned_get_preferred_size (GtkWidget *widget,
if (priv->child1 && gtk_widget_get_visible (priv->child1))
{
- _gtk_widget_get_preferred_size_for_size (priv->child1, orientation, size, &child_min, &child_nat);
+ _gtk_widget_get_preferred_size_for_size (priv->child1, orientation, size, &child_min, &child_nat, NULL, NULL);
if (priv->child1_shrink && priv->orientation == orientation)
*minimum = 0;
else
@@ -895,7 +895,7 @@ gtk_paned_get_preferred_size (GtkWidget *widget,
if (priv->child2 && gtk_widget_get_visible (priv->child2))
{
- _gtk_widget_get_preferred_size_for_size (priv->child2, orientation, size, &child_min, &child_nat);
+ _gtk_widget_get_preferred_size_for_size (priv->child2, orientation, size, &child_min, &child_nat, NULL, NULL);
if (priv->orientation == orientation)
{