summaryrefslogtreecommitdiff
path: root/gtk/gtksizegroup.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-09-27 12:29:05 +0200
committerBenjamin Otte <otte@redhat.com>2015-10-28 19:44:28 +0100
commit3ff894c2013f41a90b4fec4ffbefb17fcd2b45ab (patch)
tree8aa2a14b6291d96a99d9627e276acc06e4707eb3 /gtk/gtksizegroup.c
parent58d506fb115596beaeb8383e2ed3af3febd6934d (diff)
downloadgtk+-3ff894c2013f41a90b4fec4ffbefb17fcd2b45ab.tar.gz
widget: Add a function that does actual resize
It's just shuffling code around.
Diffstat (limited to 'gtk/gtksizegroup.c')
-rw-r--r--gtk/gtksizegroup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtksizegroup.c b/gtk/gtksizegroup.c
index 11f050c624..3eddc1fddb 100644
--- a/gtk/gtksizegroup.c
+++ b/gtk/gtksizegroup.c
@@ -26,7 +26,6 @@
#include "gtktypebuiltins.h"
#include "gtkprivate.h"
#include "gtksizegroup-private.h"
-#include "gtksizerequestcacheprivate.h"
#include "gtkwidgetprivate.h"
#include "gtkcontainerprivate.h"
@@ -218,8 +217,7 @@ queue_resize_on_widget (GtkWidget *widget,
do
{
- _gtk_widget_set_alloc_needed (parent, TRUE);
- _gtk_size_request_cache_clear (_gtk_widget_peek_request_cache (parent));
+ gtk_widget_queue_resize_on_widget (parent);
if (!check_siblings || _gtk_widget_get_sizegroups (parent) == NULL)
{