On 30 April 2012 14:00, D.H. Bahr <[email protected]> wrote:

> On the .tar.xz is the code I referred to. I compile it with
>
> dbahr@compaq:nova-developer-center $ valac src/ndc.vala
> src/model/ndc_core.vala src/model/src_pkg_manager.vala
> src/gui/ndc_application.vala --pkg gtk+-3.0 --pkg gee-1.0
>
> may be it is something i'm doing wrong on compiling??
>

It looks like the problem may be that you haven't called Gtk.init() at the
start of your code.

Add:
Gtk.init(ref args)

above:
var app = new NDCApplication();

in ndc.vala and it should work

-- 
Andrew Higginson
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to