Hi all
I wonder how the latest changes to the gio vapi have to be used in a
program. I have no experience with the other async stuff. How can I
connect that to a callback that would handle the GLib.AsyncResult like
in
http://live.gnome.org/Vala/GIOSamples#head-164983820b65aa689b970b193fec6ddc736817
Thanks for the reply Jiří!
That seems to be an usable solution for this problem.
I used vala-0.7.5 and git log doesn't look like it has been put into
master branch since then.
regards,
lariamat
> That's a bug in Vala.
> The problem is that delegate actually consists of two v
Dear List
I wanted to check the possibility to put delegates into an array or a
GLib.List and then firing them one by one in a foreach way.
After some attempts I found a compiling solution that unfortunately does
not work.
Can anybody tell me what I am doing wrong here?
Thanks
lariamat
public
This bug exist for some time
http://bugzilla.gnome.org/show_bug.cgi?id=570821
Regards,
lariamat
Am Freitag, den 10.04.2009, 12:45 +0200 schrieb Roberto Majadas:
> Hi people :
>
> Is this a vala bug ?
>
> public class ProofClass {
>
> public string[] str = {}
Hi Roberto
Your example works only if str array is private (just remove the public)
and yes, I think it is a bug.
You should file it.
Regards, lariamat
Am Freitag, den 10.04.2009, 12:45 +0200 schrieb Roberto Majadas:
> Hi people :
>
> Is this a vala bug ?
>
> public c
Hello
I guess, it is a bug.
There are several issues with multidimensional arrays:
http://bugzilla.gnome.org/show_bug.cgi?id=548428
http://bugzilla.gnome.org/show_bug.cgi?id=548429
http://bugzilla.gnome.org/show_bug.cgi?id=576611
Also using arrays by reference is not working.
Regards,
lariamat
Sorry, use
a = new string[0];
Am Dienstag, den 31.03.2009, 00:54 +0200 schrieb lariamat:
> try this:
> /---
> string[] a;
> a = string[0];
> a += "sometext";
> a += &q
try this:
/---
string[] a;
a = string[0];
a += "sometext";
a += "sometext1";
a += "sometext2";
...
/-----
Regards, lariamat
Am Dienstag, den 31.03.2009, 00:14 +0200 schrieb Le
hi adam
The content has to be copied to /usr/share/devhelp/books/
Regards,
lariamat
Am Samstag, den 24.01.2009, 13:58 -0800 schrieb Adam Dingle:
> According to the Valadoc wiki page (http://live.gnome.org/Valadoc),
> Devhelp integration is "done", and the page contains
Hi Jezra
Also foreach is now working with recent vala for null-terminated arrays.
As you are just using and approving the gnet bindings you could post the
working vapi to the mailing list or attach it to a bugzilla report as
soon as everything is working.
Regards
lariamat
Am Donnerstag, den
[NoArrayLength] is outdated with current versions of vala.
It's [CCode (array_length = false)] now.
Regards,
Jörn
Am Mittwoch, den 21.01.2009, 23:52 +0100 schrieb Frederik:
>
> Ok, then try putting [NoArrayLength] before each one of those array
> fields in the vapi file. Since these are null ter
I get a strange c compilation warning when using a string as parameter
in a static function. When i forward the string to another string
everything is OK.
(In my program I get this warning from a Gst.TagForeachFunc.)
I am using vala 0.5.2 but I also had this warning in previous versions.
Here are
the problem still exists in vala-0.5.1
in class SelectionData:
public void set (Gdk.Atom type, int format, uchar[] data);
has to be changed to:
public void set (Gdk.Atom type, int format, void* data, ulong size);
> Ok, this problem is already solved:
>
> 2008-10-28 Jürg Billeter <[EMAIL
"text" should be completely hidden because we have the
"set_text"/"get_text" in parallel with the "set_markup".
Btw, shouldn't a construction-method with a string as parameter work for
the derrived class like for a Gtk.Label? It doesn't.
using Gtk;
public class MyLabel : Label {
}
static int ma
Is there a offline bindings documentation? Maybe as html?
It would be nice to have it locally. Just in case I like to code when
traveling. I know it is possible to look into the vapi files, but there
are no links.
It would be best to have it in devhelp.
___
ass();
obj.run();
foreach(XStruct xstr in obj.x_list) stdout.printf("%d
\n",xstr.integer);
return 0;
}
}
Regards,
lariamat
Date: Mon, 04 Aug 2008 13:20:27 +0200
From: Roberto Majadas <[EMAIL PROTECTED]>
Subject: Re: [Vala] structs and
16 matches
Mail list logo