aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-01-26 22:43:08 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-01-26 22:43:08 -0500
commit5644dd27197711b3a69d0dd05e6a1b82c404f027 (patch)
tree6aa561f7ac8edd7aeda19fecc913c7b9cbde08c9 /src/textadept.c
parent6cd7f0016da3b5c138fa797cc8aaa9f8671b1419 (diff)
downloadtextadept-5644dd27197711b3a69d0dd05e6a1b82c404f027.tar.gz
textadept-5644dd27197711b3a69d0dd05e6a1b82c404f027.zip
Menu label text is irrelevant for menu actions due to l10n; focus on menu_id.
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/textadept.c b/src/textadept.c
index de24626e..ebc0d6d2 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -56,7 +56,7 @@ static void pm_row_activated(GtkTreeView *, GtkTreePath *, GtkTreeViewColumn *,
gpointer);
static gbool pm_button_press(GtkTreeView *, GdkEventButton *event, gpointer);
static gbool pm_popup_menu(GtkWidget *, gpointer);
-static void pm_menu_activate(GtkWidget *menu_item, gpointer menu_id);
+static void pm_menu_activate(GtkWidget *, gpointer menu_id);
// Find/Replace
GtkWidget *findbox, *find_entry, *replace_entry, *fnext_button, *fprev_button,
@@ -770,11 +770,10 @@ void pm_popup_context_menu(GdkEventButton *event) {
/**
* Performs a Lua action for a selected Project Manager menu item.
- * @param menu_item The menu item.
* @param menu_id The numeric ID for the menu item.
* @see l_pm_perform_menu_action
*/
-void pm_process_selected_menu_item(GtkWidget *menu_item, int menu_id) {
+void pm_process_selected_menu_item(GtkWidget *, int menu_id) {
GtkTreePath *path;
GtkTreeViewColumn *column;
gtk_tree_view_get_cursor(GTK_TREE_VIEW(pm_view), &path, &column);