From 531b449580268c9483ecf486fbab057db74b3568 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Thu, 8 Apr 2010 18:53:23 -0400 Subject: [PATCH] Deprecated gtk_widget_size_request and gtk_widget_get_child_requisition() Ever since size groups gtk_widget_size_request() can be used in place of gtk_widget_get_child_requisition(), deprecating both now in favor of gtk_extended_layout_get_desired_size(). --- gtk/gtkwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 2d92813666..4254516c3c 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -3875,7 +3875,7 @@ gtk_widget_draw (GtkWidget *widget, * Also remember that the size request is not necessarily the size * a widget will actually be allocated. * - * See also gtk_widget_get_child_requisition(). + * Deprecated: 3.0: Use gtk_extended_layout_get_desired_size() instead. **/ void gtk_widget_size_request (GtkWidget *widget, @@ -3915,6 +3915,9 @@ gtk_widget_size_request (GtkWidget *widget, * since the last time a resize was queued. In general, only container * implementations have this information; applications should use * gtk_widget_size_request(). + * + * + * Deprecated: 3.0: Use gtk_extended_layout_get_desired_size() instead. **/ void gtk_widget_get_child_requisition (GtkWidget *widget,