[gnome-games] retro-input-manager: Adapt to changes in retro-gtk
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] retro-input-manager: Adapt to changes in retro-gtk
- Date: Mon, 6 Nov 2017 05:40:26 +0000 (UTC)
commit 22efc00ac9cd610022eb3ba25b3b95e068ee1ea8
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun Nov 5 16:23:02 2017 +0100
retro-input-manager: Adapt to changes in retro-gtk
src/retro/retro-input-manager.vala | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/retro/retro-input-manager.vala b/src/retro/retro-input-manager.vala
index 15915a8..74258be 100644
--- a/src/retro/retro-input-manager.vala
+++ b/src/retro/retro-input-manager.vala
@@ -71,7 +71,6 @@ private class Games.RetroInputManager : Object {
// Remove the controller and shift the CoreView's joypad to
// "lesser" port.
controllers[core_view_joypad_port] = null;
- core.remove_controller (core_view_joypad_port);
core_view_joypad_port = port;
controllers[core_view_joypad_port] = core_view_joypad;
core.set_controller (core_view_joypad_port, core_view_joypad);
@@ -80,7 +79,7 @@ private class Games.RetroInputManager : Object {
// Just remove the controller as no need to shift the
// CoreView's joypad.
controllers[port] = null;
- core.remove_controller (port);
+ core.set_controller (port, null);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]