From ef321923299d3d113a38effe2afbded58939deaf Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Tue, 6 Apr 2010 02:53:51 -0400 Subject: [PATCH] Call the ->get_desired_size() method directly on the vtable This commit is a mistake, it should have been included with the last commit. --- gtk/gtksizegroup.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c index ca28d8912c..ea6a8e0c0f 100644 --- a/gtk/gtksizegroup.c +++ b/gtk/gtksizegroup.c @@ -678,10 +678,12 @@ do_size_request (GtkWidget *widget) */ extended_minimum.width = 0; extended_minimum.height = 0; - gtk_extended_layout_get_desired_size (GTK_EXTENDED_LAYOUT (widget), - &extended_minimum, - &aux_info->natural_size); + GTK_EXTENDED_LAYOUT_GET_IFACE + (widget)->get_desired_size (GTK_EXTENDED_LAYOUT (widget), + &extended_minimum, + &aux_info->natural_size); + /* Base the base widget requisition on both the size-requst and the extended layout size */ widget->requisition.width = MAX (widget->requisition.width, extended_minimum.width);