[gegl-gtk] Corrected call to Gegl.init in Vala’s basic example.



commit f39f96a4646fd95bbf85c9bc583ef96afd62ce6d
Author: jordi fita i mas <gmf trasto cat>
Date:   Sat Feb 1 16:52:01 2014 +0100

    Corrected call to Gegl.init in Vala’s basic example.
    
        *  examples/vala/gegl-gtk-basic.vala (main): Pass the ref of args to
           Gegl.init.

 examples/vala/gegl-gtk-basic.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/examples/vala/gegl-gtk-basic.vala b/examples/vala/gegl-gtk-basic.vala
index 1a9882f..d48f49e 100644
--- a/examples/vala/gegl-gtk-basic.vala
+++ b/examples/vala/gegl-gtk-basic.vala
@@ -3,7 +3,7 @@ class Examples.Basic : GLib.Object {
 
     public static int main(string[] args) {
         Gtk.init(ref args);
-        Gegl.init(0, "");
+        Gegl.init(ref args);
 
         var graph = new Gegl.Node();
         var node = graph.create_child("gegl:load");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]