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

[Vala] Produced C files don't include headers they should include



Hi,

When I write the following code
-----
using GLib;

public class Foo.Foo : Object {

	static int main (string[] args) {

		Thread.init ();
		Gdk.threads_init ();

		Gtk.init (ref args);
		Gst.init (ref args);

		Gtk.main ();
		return 0;
	}

}
--------

and compile it to C code no #include statements for gtk, gstreamer and
gdk are generated. Consequently compiling the C code results in
warnings: implicit declerations for the gtk, gst and gdk functions I
use. Am I doing something wrong?

Jaap


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