summaryrefslogtreecommitdiff
path: root/plugins/keyboard/msd-keyboard-xkb.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-20 21:27:33 +0100
committerraveit65 <[email protected]>2021-01-07 18:14:36 +0100
commit25403b779f27d4e84640bb592c6b231ad3869ae3 (patch)
treeacd6df23c16fbc76631d128e266cddbcaac749fb /plugins/keyboard/msd-keyboard-xkb.c
parent9e9508b5a32b1353dd095eccc376512893e81b7e (diff)
downloadmate-settings-daemon-25403b779f27d4e84640bb592c6b231ad3869ae3.tar.bz2
mate-settings-daemon-25403b779f27d4e84640bb592c6b231ad3869ae3.tar.xz
Remove warning -Wshadow
Diffstat (limited to 'plugins/keyboard/msd-keyboard-xkb.c')
-rw-r--r--plugins/keyboard/msd-keyboard-xkb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/keyboard/msd-keyboard-xkb.c b/plugins/keyboard/msd-keyboard-xkb.c
index 52cc5c9..c120503 100644
--- a/plugins/keyboard/msd-keyboard-xkb.c
+++ b/plugins/keyboard/msd-keyboard-xkb.c
@@ -259,7 +259,9 @@ popup_menu_set_group (GtkMenuItem *item G_GNUC_UNUSED,
}
static void
-status_icon_popup_menu_cb (GtkStatusIcon * icon, guint button, guint time)
+status_icon_popup_menu_cb (GtkStatusIcon *status_icon,
+ guint button,
+ guint time)
{
GtkWidget *toplevel;
GdkScreen *screen;
@@ -330,7 +332,7 @@ status_icon_popup_menu_cb (GtkStatusIcon * icon, guint button, guint time)
gtk_menu_popup (popup_menu, NULL, NULL,
gtk_status_icon_position_menu,
- (gpointer) icon, button, time);
+ (gpointer) status_icon, button, time);
}
static void