[gimp] app: remove unused (deprecated) property read.



commit 6d7d73935fe1ccfd9720b8194da7c71eedc0340c
Author: Jehan <jehan girinstud io>
Date:   Tue Dec 15 03:15:23 2020 +0100

    app: remove unused (deprecated) property read.
    
    We were also reading "gtk-show-unicode-menu" which has also been
    deprecated since GTK+3.10, and we were not even using the read value.
    Just remove this piece of unused code.

 app/actions/text-tool-actions.c | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/app/actions/text-tool-actions.c b/app/actions/text-tool-actions.c
index 9ccfa6e3a4..89f58a88e4 100644
--- a/app/actions/text-tool-actions.c
+++ b/app/actions/text-tool-actions.c
@@ -168,7 +168,6 @@ text_tool_actions_update (GimpActionGroup *group,
   gboolean          text_layer = FALSE;
   gboolean          text_sel   = FALSE;   /* some text is selected        */
   gboolean          clip       = FALSE;   /* clipboard has text available */
-  gboolean          unicode_menu;
   GimpTextDirection direction;
   gint              i;
 
@@ -187,10 +186,6 @@ text_tool_actions_update (GimpActionGroup *group,
                                         GDK_SELECTION_CLIPBOARD);
   clip = gtk_clipboard_wait_is_text_available (clipboard);
 
-  g_object_get (gtk_widget_get_settings (shell->canvas),
-                "gtk-show-unicode-menu", &unicode_menu,
-                NULL);
-
 #define SET_VISIBLE(action,condition) \
         gimp_action_group_set_action_visible (group, action, (condition) != 0)
 #define SET_SENSITIVE(action,condition) \


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