diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-06-17 13:07:17 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-06-17 13:07:17 +0200 |
commit | bdaae5b6704e29919ec7f284b9e3abe54f96f2f8 (patch) | |
tree | 75b3860a2cea86ec7e55d978730b13e41c8015da /gui/Ephraim.vala | |
parent | ca7a0bfa5dd63fc45df0a46800a76d7048e70f2b (diff) | |
download | ephraim-bdaae5b6704e29919ec7f284b9e3abe54f96f2f8.tar ephraim-bdaae5b6704e29919ec7f284b9e3abe54f96f2f8.zip |
Added CMake build system
Diffstat (limited to 'gui/Ephraim.vala')
-rw-r--r-- | gui/Ephraim.vala | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gui/Ephraim.vala b/gui/Ephraim.vala deleted file mode 100644 index d05e449..0000000 --- a/gui/Ephraim.vala +++ /dev/null @@ -1,31 +0,0 @@ -using Gtk; - - -public class Ephraim { - public static int main(string[] args) { - Gtk.init(ref args); - Erl.init(); - - Gtk.Builder builder = new Gtk.Builder(); - try { - builder.add_from_file("ephraim.glade"); - } catch(Error e) { - return 1; - } - - CoreConnector coreconn = new CoreConnector(); - - if(!coreconn.start()) - return 1; - - unowned Gtk.Window window = builder.get_object("MainWindow") as Gtk.Window; - window.hide.connect(Gtk.main_quit); - window.show(); - - Gtk.main(); - - coreconn.stop(); - - return 0; - } -} |