[Xfce4-commits] [xfce/thunar] 03/07: Silence gtk_ui_manager_get_accel_group deprecation

noreply at xfce.org noreply at xfce.org
Sat Jun 2 18:35:48 CEST 2018


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

a   n   d   r   e       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 xfce/thunar.

commit 5854e8b84e3f9ec859089e700978d3f8005cf8f0
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Jun 2 12:51:54 2018 -0300

    Silence gtk_ui_manager_get_accel_group deprecation
---
 thunar/thunar-renamer-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar/thunar-renamer-dialog.c b/thunar/thunar-renamer-dialog.c
index 562de91..200d9d6 100644
--- a/thunar/thunar-renamer-dialog.c
+++ b/thunar/thunar-renamer-dialog.c
@@ -371,11 +371,11 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   renamer_dialog->ui_manager = gtk_ui_manager_new ();
   gtk_ui_manager_insert_action_group (renamer_dialog->ui_manager, renamer_dialog->action_group, 0);
   gtk_ui_manager_add_ui_from_string (renamer_dialog->ui_manager, thunar_renamer_dialog_ui, thunar_renamer_dialog_ui_length, NULL);
-G_GNUC_END_IGNORE_DEPRECATIONS
 
   /* connect the accelerators */
   accel_group = gtk_ui_manager_get_accel_group (renamer_dialog->ui_manager);
   gtk_window_add_accel_group (GTK_WINDOW (renamer_dialog), accel_group);
+G_GNUC_END_IGNORE_DEPRECATIONS
 
   /* setup the launcher support for this dialog */
   renamer_dialog->launcher = thunar_launcher_new ();

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


More information about the Xfce4-commits mailing list