Re: [Vala] Minor modifications



2007. 05. 7, hétfő keltezéssel 12.06-kor Jürg Billeter ezt írta:
On Mon, 2007-04-30 at 17:47 +0200, Zsombor wrote:
Index: gtk+-2.0.vala
-               public void @set (ref Gtk.TreeIter iter);
+               public void @set (ref Gtk.TreeIter iter, ...);

Fixed and regenerated.

Index: glib-2.0.vala
-       [CCode (cname = "g_strstr")]
+       [CCode (cname = "strstr")]

Committed to SVN.

+       [CCode (cname = "G_TYPE_STRING")]
+       public static GLib.Type get_type();

I don't think that this will work as G_TYPE_STRING is not a function.

Thanks,

Jürg


I'm sure you know a better approach, but for me, it's worked, so I could
write:
listStore = new ListStore(2,Gdk.Pixbuf.get_type(),string.get_type);

I don't know how can I access this G_TYPE_STRING macro in other way.

BR,
 Zsombor





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