[epiphany] Fix dzl-application-window startup warning



commit 77c0aed25b6baa94bae09de61655781983e08e41
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Sat Jul 18 00:03:39 2020 +0200

    Fix dzl-application-window startup warning
    
    (epiphany:396483): dzl-application-window-CRITICAL **: 00:00:50.640: 
dzl_application_window_get_titlebar_animation: assertion 'DZL_IS_APPLICATION_WINDOW (self)' failed
    
    During startup window is still unset, so there is no need to update the
    state. Once it is set the callback is called anyway.

 src/ephy-action-bar.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/ephy-action-bar.c b/src/ephy-action-bar.c
index 80a29b3bf..c28ce6bac 100644
--- a/src/ephy-action-bar.c
+++ b/src/ephy-action-bar.c
@@ -198,7 +198,6 @@ ephy_action_bar_init (EphyActionBar *action_bar)
 
   ephy_action_bar_start_set_adaptive_mode (action_bar->action_bar_start,
                                            EPHY_ADAPTIVE_MODE_NARROW);
-  titlebar_animation_changed (action_bar);
 }
 
 EphyActionBar *


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