aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-08-05 01:31:12 +0200
committerRobert Tari <robert@tari.in>2023-08-05 01:31:12 +0200
commitc2bade07c6a825cd86627dc3eee4d8f9a1b39ac7 (patch)
tree199900955d888267de49fc448e9a30ee18e5eebd
parentbe68b43ccc63023250918b2cf2dbe0ee55d6fcef (diff)
downloadayatana-ido-c2bade07c6a825cd86627dc3eee4d8f9a1b39ac7.tar.gz
ayatana-ido-c2bade07c6a825cd86627dc3eee4d8f9a1b39ac7.tar.bz2
ayatana-ido-c2bade07c6a825cd86627dc3eee4d8f9a1b39ac7.zip
src/idoplaybackmenuitem.c: Drop unused variable
-rw-r--r--src/idoplaybackmenuitem.c5
1 files changed, 0 insertions, 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)