summaryrefslogtreecommitdiff
path: root/gtk/gtksizegroup.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-17 01:46:59 -0400
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-17 01:46:59 -0400
commitcaba7992b87690cc0e27dccd782986c8893ec9fd (patch)
tree7099ec7a2838a33df1fdbcb665d613cfef3e1921 /gtk/gtksizegroup.h
parent8432f54c519c07df10e352dd4aecc454efd6bf20 (diff)
downloadgtk+-caba7992b87690cc0e27dccd782986c8893ec9fd.tar.gz
Refactored GtkSizeGroup for GtkExtendedLayout
Removed _gtk_size_group_compute_requisition and _gtk_size_group_get_child_requisition in favor of _gtk_size_group_bump_requisition() which does an orientation contextual computation of the size group and returns the collective value in one pass.
Diffstat (limited to 'gtk/gtksizegroup.h')
-rw-r--r--gtk/gtksizegroup.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk/gtksizegroup.h b/gtk/gtksizegroup.h
index 8addb5cd7a..28a06e9567 100644
--- a/gtk/gtksizegroup.h
+++ b/gtk/gtksizegroup.h
@@ -100,13 +100,10 @@ void gtk_size_group_remove_widget (GtkSizeGroup *size_group,
GSList * gtk_size_group_get_widgets (GtkSizeGroup *size_group);
-void _gtk_size_group_get_child_requisition (GtkWidget *widget,
- GtkRequisition *requisition);
-void _gtk_size_group_compute_requisition (GtkWidget *widget,
- GtkRequisition *requisition);
-void _gtk_size_group_bump_requisition (GtkWidget *widget,
+
+gint _gtk_size_group_bump_requisition (GtkWidget *widget,
GtkSizeGroupMode mode,
- gint size);
+ gint widget_requisition);
void _gtk_size_group_queue_resize (GtkWidget *widget);