diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-19 18:49:38 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-19 18:49:38 -0400 |
commit | 80a024e43ca92c710c3eb72bd02ffeb642950e6f (patch) | |
tree | c902f4b3e6e0fa8d83a7b2cf294f0c45ee1e364c /src/idoplaybackmenuitem.c | |
parent | 5aca3b41fcc08855e8bb017abe755abece85c5fa (diff) | |
download | ayatana-ido-80a024e43ca92c710c3eb72bd02ffeb642950e6f.tar.gz ayatana-ido-80a024e43ca92c710c3eb72bd02ffeb642950e6f.tar.bz2 ayatana-ido-80a024e43ca92c710c3eb72bd02ffeb642950e6f.zip |
idoplaybackmenuitem: remove redundant 'else'
Diffstat (limited to 'src/idoplaybackmenuitem.c')
-rw-r--r-- | src/idoplaybackmenuitem.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c index e520e20..1e47968 100644 --- a/src/idoplaybackmenuitem.c +++ b/src/idoplaybackmenuitem.c @@ -104,9 +104,11 @@ ido_playback_menu_item_get_button_at_pos (gint x, if (x > 57 && x < 102 && y > 12 && y < 40) return BUTTON_PREVIOUS; - else if (x > 101 && x < 143 && y > 5 && y < 47) + + if (x > 101 && x < 143 && y > 5 && y < 47) return BUTTON_PLAYPAUSE; - else if (x > 142 && x < 187 && y > 12 && y < 40) + + if (x > 142 && x < 187 && y > 12 && y < 40) return BUTTON_NEXT; return BUTTON_NONE; |