You might be able to get around this issue by using the GLib.Object's connect
method to directly specify the signal.
See: http://www.valadoc.org/#!api=gobject-2.0/GLib.Object.connect
On 12/10/2015 12:16 PM, Luc Chante wrote:
Hi,
According to this
https://git.gnome.org/browse/vala/tree/vapi/gi
If we want to have vector extensions supported in vala, then a good way
to do that might be to take advantage of the Cilk Plus extensions for C
and C++ that are now supported by most compilers, including GCC upwards
of version 4.8. One benefit of this would be that we wouldn't need to
change t
Justin,
I believe that you have to use
[CCode(cheader_filename="libspotify/api.h")] instead of cheader.
-Andrew
On 04/28/2015 06:29 PM, Justin Brown wrote:
Hi Al,
Thanks for the continued help. I've been making some progress on the vapi,
but I've been putting off the compilation issue for a
It seems like there are a few problems. First, that isn't a named
delegate type in any gio source code, upto and including the master
branch. The second problem is that our binding is bad, because we're
trying to bind against something that isn't there.
The only work around that I've been able
As a quick fix, you could replace the gtk_main_quit function with
another function that has the same signature, but contains the exit
method, which will be sure to bump you out of the program. Just be sure
to declare the exit method in your file.
extern void exit(int exit_code);
void quit()
You can also add this line to your vala file so that you can use the
exit(int) method.
extern void exit(int exit_code);
via: https://mail.gnome.org/archives/vala-list/2010-July/msg00168.html
On 7/4/2013 1:31 PM, Simon Kågedal Reimer wrote:
If this uses freeglut, you couldalao use glutLeaveMai
I believe that the problem that you are having is due to the fact that
GLib.Thread is a compact class. When classes are compact, it means
that you cannot inherit from them.
For information on compact classes, look here:
https://live.gnome.org/Vala/ReferenceHandling#Memory_management_for_compa