GtkBuilder, win32 & signals
- From: "Gabriele Greco" <gabriele greco darts it>
- To: gtk-app-devel-list gnome org
- Subject: GtkBuilder, win32 & signals
- Date: Wed, 13 Feb 2008 15:41:59 +0100
I'm doing some tests with GtkBuilder and I've built a simple program
that open a window with a pair of buttons with a signal for each button
and it works perfectly in linux.
I've tried to crosscompile it to win32 with this command line:
i586-mingw32msvc-gcc -o main.exe main.c -mno-cygwin -mms-bitfields
-I$CROSSDIR/include/gtk-2.0/glib-2.0
-I$CROSSDIR/lib/gtk2/glib-2.0/include/ -I$CROSSDIR/include/cairo
-I$CROSSDIR/include/gtk-2.0 -I$CROSSDIR/include/atk-1.0
-I$CROSSDIR/include/pango-1.0 -I$CROSSDIR/lib/gtk-2.0/include -s
-L$CROSSDIR/lib/gtk-2.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lpango-1.0 -lpangowin32-1.0 -lgmodule-2.0
-lgobject-2.0 -lglib-2.0 -lgthread-2.0 -Wl,--export-dynamic
This is mostly the line I use in our production enviroment, the program
compile and link, but complains about missing signal handlers when I call:
gtk_builder_connect_signals (b, NULL);
I'm wondering if the gmodule "inspecting" feature to link the handlers
is broken in win32 or if I have to add some more flag (gmodule-2.0.pc of
the win32 dev archive doesn't show anything relevant...) and
g_module_supported() returns true!
--
Bye,
Gabry
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]