Re: [Vala] regarding Gtk Builder on Vala



On 30 April 2012 14:00, D.H. Bahr <dbahr uci cu> 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


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