[gnome-nibbles] Remove unused method
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Remove unused method
- Date: Mon, 26 Oct 2015 20:21:59 +0000 (UTC)
commit f91cbb8f590374df233f0a1d1e725fba4bdd0967
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date: Mon Oct 26 22:12:56 2015 +0200
Remove unused method
https://bugzilla.gnome.org/show_bug.cgi?id=754608
src/nibbles-game.vala | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/nibbles-game.vala b/src/nibbles-game.vala
index a8e9125..6c11d4d 100644
--- a/src/nibbles-game.vala
+++ b/src/nibbles-game.vala
@@ -556,20 +556,6 @@ public class NibblesGame : Object
}
}
- public void save_worm_properties (Gee.ArrayList<Settings> worm_settings)
- {
- foreach (var worm in worms)
- {
- var properties = worm_props.get (worm);
-
- worm_settings[worm.id].set_string ("color", NibblesView.colorval_name (properties.color));
- worm_settings[worm.id].set_int ("key-up", (int) properties.up);
- worm_settings[worm.id].set_int ("key-down", (int) properties.down);
- worm_settings[worm.id].set_int ("key-left", (int) properties.left);
- worm_settings[worm.id].set_int ("key-right", (int) properties.right);
- }
- }
-
public bool handle_keypress (uint keyval)
{
if (!is_running)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]