Skip to content

Instantly share code, notes, and snippets.

@joshthecoder
Created January 28, 2010 02:59
Show Gist options
  • Save joshthecoder/288397 to your computer and use it in GitHub Desktop.
Save joshthecoder/288397 to your computer and use it in GitHub Desktop.
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