SF.net SVN: geany:[5318] trunk/src/prefs.c

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Oct 22 12:27:11 UTC 2010


Revision: 5318
          http://geany.svn.sourceforge.net/geany/?rev=5318&view=rev
Author:   ntrel
Date:     2010-10-22 12:27:11 +0000 (Fri, 22 Oct 2010)

Log Message:
-----------
Rename wrong function argument name.

Modified Paths:
--------------
    trunk/src/prefs.c

Modified: trunk/src/prefs.c
===================================================================
--- trunk/src/prefs.c	2010-10-22 12:20:37 UTC (rev 5317)
+++ trunk/src/prefs.c	2010-10-22 12:27:11 UTC (rev 5318)
@@ -83,7 +83,7 @@
 static gboolean kb_grab_key_dialog_key_press_cb(GtkWidget *dialog, GdkEventKey *event, gpointer user_data);
 static void kb_grab_key_dialog_response_cb(GtkWidget *dialog, gint response, gpointer user_data);
 static gboolean kb_find_duplicate(GtkWidget *parent, GeanyKeyBinding *search_kb,
-		guint key, GdkModifierType mods, const gchar *action);
+		guint key, GdkModifierType mods, const gchar *shortcut);
 static void on_toolbar_show_toggled(GtkToggleButton *togglebutton, gpointer user_data);
 static void on_show_notebook_tabs_toggled(GtkToggleButton *togglebutton, gpointer user_data);
 static void on_enable_plugins_toggled(GtkToggleButton *togglebutton, gpointer user_data);
@@ -1405,7 +1405,7 @@
 /* test if the entered key combination is already used
  * returns true if cancelling duplicate */
 static gboolean kb_find_duplicate(GtkWidget *parent, GeanyKeyBinding *search_kb,
-		guint key, GdkModifierType mods, const gchar *action)
+		guint key, GdkModifierType mods, const gchar *shortcut)
 {
 	gsize g, i;
 	GeanyKeyGroup *group;
@@ -1431,7 +1431,7 @@
 					_("_Override"), GTK_RESPONSE_YES,
 					_("Override that keybinding?"),
 					_("The combination '%s' is already used for \"%s\"."),
-					action, label);
+					shortcut, label);
 
 				g_free(label);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list