[gtk+] container: Don't use to-be-deprecated API
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] container: Don't use to-be-deprecated API
- Date: Thu, 30 May 2013 18:03:25 +0000 (UTC)
commit 299714dd1a8839316fb2aba2d9555061670cebf5
Author: Benjamin Otte <otte redhat com>
Date: Thu May 30 20:02:05 2013 +0200
container: Don't use to-be-deprecated API
Instead, do what that API does manually.
gtk/gtkcontainer.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 49bd093..a30420d 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1870,7 +1870,8 @@ gtk_container_real_check_resize (GtkContainer *container)
}
else
{
- gtk_container_resize_children (container);
+ gtk_widget_size_allocate (widget, &allocation);
+ gtk_widget_set_allocation (widget, &allocation);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]