[gtk+/native-layout] Call the ->get_desired_size() method directly on the vtable
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Call the ->get_desired_size() method directly on the vtable
- Date: Tue, 6 Apr 2010 07:08:36 +0000 (UTC)
commit ef321923299d3d113a38effe2afbded58939deaf
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Tue Apr 6 02:53:51 2010 -0400
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 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c
index ca28d89..ea6a8e0 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]