]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add default arguments for g_main_loop_new binding
authorJürg Billeter <j@bitron.ch>
Thu, 1 Oct 2009 17:43:53 +0000 (19:43 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 1 Oct 2009 17:43:53 +0000 (19:43 +0200)
vapi/glib-2.0.vapi

index 3682e7f1462c7f763d202629a92fe7eb8152cc62..ed5ab8b7662fffea472b7148ba1926e7e3a00846 100644 (file)
@@ -1195,7 +1195,7 @@ namespace GLib {
        [Compact]
        [CCode (ref_function = "g_main_loop_ref", unref_function = "g_main_loop_unref")]
        public class MainLoop {
-               public MainLoop (MainContext? context, bool is_running);
+               public MainLoop (MainContext? context = null, bool is_running = false);
                public void run ();
                public void quit ();
                public bool is_running ();