diff options
author | Robert Tari <robert@tari.in> | 2023-08-05 01:27:39 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2023-08-05 01:27:39 +0200 |
commit | be68b43ccc63023250918b2cf2dbe0ee55d6fcef (patch) | |
tree | 102cb17dd061d19c0a75f8e92b54837ac1c7143f | |
parent | 09c5052d290d76faadc997a6aefe49a398959463 (diff) | |
download | ayatana-ido-be68b43ccc63023250918b2cf2dbe0ee55d6fcef.tar.gz ayatana-ido-be68b43ccc63023250918b2cf2dbe0ee55d6fcef.tar.bz2 ayatana-ido-be68b43ccc63023250918b2cf2dbe0ee55d6fcef.zip |
src/idoplaybackmenuitem.c: Fix undefined variable
-rw-r--r-- | src/idoplaybackmenuitem.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c index 7f19718..efc2381 100644 --- a/src/idoplaybackmenuitem.c +++ b/src/idoplaybackmenuitem.c @@ -1,5 +1,6 @@ /* * Copyright 2013 Canonical Ltd. + * Copyright 2023 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -18,6 +19,7 @@ * Mirco Müller <mirco.mueller@canonical.com> * Andrea Cimitan <andrea.cimitan@canonical.com> * Lars Uebernickel <lars.uebernickel@canonical.com> + * Robert Tari <robert@tari.in> */ #include "idoplaybackmenuitem.h" @@ -291,13 +293,12 @@ ido_playback_menu_item_button_release_event (GtkWidget *menuitem, { IdoPlaybackMenuItem *item = IDO_PLAYBACK_MENU_ITEM (menuitem); Button button; - const gchar *action = action; button = ido_playback_menu_item_get_button_at_pos (menuitem, event->x, event->y); if (button != item->cur_pushed_button) button = BUTTON_NONE; - action = item->button_actions[item->cur_pushed_button]; + const gchar *action = item->button_actions[item->cur_pushed_button]; if (item->action_group && action) g_action_group_activate_action (item->action_group, action, NULL); |