I am creating an interface using polarization and gtk c programming using netbeans. I created my project after http://zetcode.com/articles/netbeanscdevelopment/ . I even added libgmodule2-0.so and libglib2-0.so to the netbeans linker options. When I start, I get a Gtk-WARNING warning. Could not find the signal. When I close mainwindow nothing happens (this is where my signal should be caught)
If I compile my program like this (not using netbeans)
gcc -o tut main.c $ (pkg-config --cflags -libs gtk + -2.0 gmodule-2.0)
It works great. When I close the main castle, it closes.
I like to use the IDE, because all the functions that I get (specifically debugging). Any suggestion on this issue?
source
share