[Xfce4-commits] [apps/xfce4-terminal] 01/01: Save accelerators map on exit

noreply at xfce.org noreply at xfce.org
Sun Mar 31 22:57:09 CEST 2019


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit 42e9d6b0b8c8cb67b0446b00184cb811731b2634
Author: Igor <f2404 at yandex.ru>
Date:   Sun Mar 31 16:56:43 2019 -0400

    Save accelerators map on exit
    
    Bug #15201
---
 terminal/terminal-app.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/terminal/terminal-app.c b/terminal/terminal-app.c
index 57e25f3..4b42859 100644
--- a/terminal/terminal-app.c
+++ b/terminal/terminal-app.c
@@ -169,10 +169,8 @@ terminal_app_finalize (GObject *object)
   if (app->accel_map != NULL)
     g_object_unref (G_OBJECT (app->accel_map));
   if (G_UNLIKELY (app->accel_map_save_id != 0))
-    {
-      g_source_remove (app->accel_map_save_id);
-      terminal_app_accel_map_save (app);
-    }
+    g_source_remove (app->accel_map_save_id);
+  terminal_app_accel_map_save (app);
 
   for (lp = app->windows; lp != NULL; lp = lp->next)
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list