[retro-gtk] retro-gtk: Remove unused the 'button_name' variable
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] retro-gtk: Remove unused the 'button_name' variable
- Date: Sat, 10 Sep 2016 10:44:55 +0000 (UTC)
commit a6ac0de1b188f3e1b9794d7d794c9c7378fe83bf
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Sep 9 12:14:14 2016 +0200
retro-gtk: Remove unused the 'button_name' variable
Remove the unsused 'button_name' variable in the prompt_button() method
of GamepadConfigurationDialog.
https://bugzilla.gnome.org/show_bug.cgi?id=771169
retro-gtk/input/gamepad-configuration-dialog.vala | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/retro-gtk/input/gamepad-configuration-dialog.vala
b/retro-gtk/input/gamepad-configuration-dialog.vala
index 243dc78..ad9ee66 100644
--- a/retro-gtk/input/gamepad-configuration-dialog.vala
+++ b/retro-gtk/input/gamepad-configuration-dialog.vala
@@ -76,8 +76,6 @@ public class GamepadConfigurationDialog : Gtk.Dialog {
view.highlight_button ((GamepadButtonType) button, true);
- var button_name = button.to_string ();
-
if (header_bar is HeaderBar)
(header_bar as HeaderBar).set_title ("Press a key for the this button");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]