[libhandy/wip/haecker-felix/flap-widget] Always use resize



commit 57e84f568629a81d4b0d47ac19e2caae32474d07
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Nov 19 15:57:39 2020 +0500

    Always use resize
    
    Turns out there are problems with allocate

 src/hdy-flap.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/hdy-flap.c b/src/hdy-flap.c
index 4acdc77e..cc9758e3 100644
--- a/src/hdy-flap.c
+++ b/src/hdy-flap.c
@@ -137,10 +137,7 @@ set_reveal_progress (HdyFlap *self,
 {
   self->reveal_progress = progress;
 
-  if (self->fold_policy == HDY_FLAP_FOLD_POLICY_NEVER)
-    gtk_widget_queue_resize (GTK_WIDGET (self));
-  else
-    gtk_widget_queue_allocate (GTK_WIDGET (self));
+  gtk_widget_queue_resize (GTK_WIDGET (self));
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]