Created
January 28, 2010 02:59
-
-
Save joshthecoder/288397 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gtk/Gtk.ooc b/gtk/Gtk.ooc | |
index 54679fd..a94890d 100644 | |
--- a/gtk/Gtk.ooc | |
+++ b/gtk/Gtk.ooc | |
@@ -19,7 +19,7 @@ Gtk: cover { | |
/** | |
* Start the Gtk main loop | |
*/ | |
- main: extern(gtk_main) static func | |
+ start: extern(gtk_main) static func | |
/** | |
* @return true if the event queue is not empty | |
diff --git a/hiworld.ooc b/hiworld.ooc | |
index dab4443..f60d065 100644 | |
--- a/hiworld.ooc | |
+++ b/hiworld.ooc | |
@@ -13,7 +13,7 @@ main: func { | |
}) .setBorderWidth(50) | |
win add(button) .showAll() | |
- Gtk main() | |
+ Gtk start() | |
} | |
g_print: extern func (String, ...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment