From c2bade07c6a825cd86627dc3eee4d8f9a1b39ac7 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sat, 5 Aug 2023 01:31:12 +0200 Subject: src/idoplaybackmenuitem.c: Drop unused variable --- src/idoplaybackmenuitem.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c index efc2381..fc42b6d 100644 --- a/src/idoplaybackmenuitem.c +++ b/src/idoplaybackmenuitem.c @@ -292,11 +292,6 @@ ido_playback_menu_item_button_release_event (GtkWidget *menuitem, GdkEventButton *event) { IdoPlaybackMenuItem *item = IDO_PLAYBACK_MENU_ITEM (menuitem); - Button button; - - button = ido_playback_menu_item_get_button_at_pos (menuitem, event->x, event->y); - if (button != item->cur_pushed_button) - button = BUTTON_NONE; const gchar *action = item->button_actions[item->cur_pushed_button]; if (item->action_group && action) -- cgit v1.2.3