[gnome-panel] toplevel: do not queue resize from update_animating_position



commit 8f5670099ef7ec3914c38d45e54586d673d5536c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Apr 27 15:34:48 2021 +0300

    toplevel: do not queue resize from update_animating_position
    
    Otherwise GTK will warn that we are trying to allocate size to
    panel without calling gtk_widget_get_preferred_width/height when
    we will allocate size.

 gnome-panel/panel-toplevel.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gnome-panel/panel-toplevel.c b/gnome-panel/panel-toplevel.c
index 1b13859d6..c0b4a9252 100644
--- a/gnome-panel/panel-toplevel.c
+++ b/gnome-panel/panel-toplevel.c
@@ -1773,8 +1773,6 @@ panel_toplevel_update_animating_position (PanelToplevel *toplevel)
                 * as soon as possible (hence, here) since we don't want to
                 * have a wrong value in a size request event */
                toplevel->priv->initial_animation_done = TRUE;
-
-               gtk_widget_queue_resize (GTK_WIDGET (toplevel));
        }
 }
 


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