[gthumb] fixed variable name: shorcut -> shortcut



commit c3ada083fff8d6022716c8260ec542d2a1927376
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Nov 22 10:00:30 2019 +0100

    fixed variable name: shorcut -> shortcut

 gthumb/gth-window.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gthumb/gth-window.c b/gthumb/gth-window.c
index dd986d36..f7384533 100644
--- a/gthumb/gth-window.c
+++ b/gthumb/gth-window.c
@@ -707,21 +707,21 @@ gth_window_get_accel_group (GthWindow *window)
 
 static void
 _gth_window_add_shortcut (GthWindow   *window,
-                         GthShortcut *shorcut)
+                         GthShortcut *shortcut)
 {
-       g_ptr_array_add (window->priv->shortcuts_v, shorcut);
+       g_ptr_array_add (window->priv->shortcuts_v, shortcut);
        g_hash_table_insert (window->priv->shortcuts,
-                            g_strdup (shorcut->detailed_action),
-                            shorcut);
+                            g_strdup (shortcut->detailed_action),
+                            shortcut);
 }
 
 
 static void
 _gth_window_remove_shortcut (GthWindow   *window,
-                            GthShortcut *shorcut)
+                            GthShortcut *shortcut)
 {
-       g_hash_table_remove (window->priv->shortcuts, shorcut->detailed_action);
-       g_ptr_array_remove (window->priv->shortcuts_v, shorcut);
+       g_hash_table_remove (window->priv->shortcuts, shortcut->detailed_action);
+       g_ptr_array_remove (window->priv->shortcuts_v, shortcut);
 }
 
 


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