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().
This commit is contained in:
Tristan Van Berkom 2010-04-08 18:53:23 -04:00
parent 99425f15f5
commit 531b449580

View File

@ -3875,7 +3875,7 @@ gtk_widget_draw (GtkWidget *widget,
* Also remember that the size request is not necessarily the size * Also remember that the size request is not necessarily the size
* a widget will actually be allocated. * 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 void
gtk_widget_size_request (GtkWidget *widget, 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 * since the last time a resize was queued. In general, only container
* implementations have this information; applications should use * implementations have this information; applications should use
* gtk_widget_size_request(). * gtk_widget_size_request().
*
*
* Deprecated: 3.0: Use gtk_extended_layout_get_desired_size() instead.
**/ **/
void void
gtk_widget_get_child_requisition (GtkWidget *widget, gtk_widget_get_child_requisition (GtkWidget *widget,