[gtk+] gtkstack: remove needless queue_resize



commit ae487840f005f2cdc80f8bd5b8e5fe60e5a37a27
Author: Matt Watson <mattdangerw gmail com>
Date:   Thu Dec 10 15:50:25 2015 -0800

    gtkstack: remove needless queue_resize
    
    In gtk_stack_set_transition_position we should only need to
    queue_resize if we are non-homogeneous, which is already done
    earlier in the function.

 gtk/gtkstack.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index 09ee656..c832179 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -906,8 +906,6 @@ gtk_stack_set_transition_position (GtkStack *stack,
           gtk_widget_set_child_visible (priv->last_visible_child->widget, FALSE);
           priv->last_visible_child = NULL;
         }
-
-      gtk_widget_queue_resize (GTK_WIDGET (stack));
     }
 
   return done;


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