diff options
Diffstat (limited to 'src/csimport.vala')
-rw-r--r-- | src/csimport.vala | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/csimport.vala b/src/csimport.vala index be35e34..5d88434 100644 --- a/src/csimport.vala +++ b/src/csimport.vala @@ -1,15 +1,5 @@ using Gtk; -namespace Emulation -{ - public void add_cs(string name, CS cs) - { - TreeIter iter; - GUI.main.cs_store.append(out iter); - GUI.main.cs_store.set(iter, 0, name, 1, cs, -1); - } -} - namespace GUI { class CSImport : Dialog @@ -240,9 +230,9 @@ namespace GUI response.connect((source, id) => { if (id == ResponseType.OK) { - Emulation.add_cs(name_entry.text, - new Emulation.CS(&dwords.index(0), - dwords.length)); + main.add_cs(name_entry.text, + new Emulation.CS(&dwords.index(0), + dwords.length)); } destroy(); }); |