This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libglade2:glade_xml_signal_autoconnect:can't find signal handler


I'm using glade-2 and libglade2 (2.5.1.1) for a simple gui generation. 

Compiling is o.k., but when i try to execute the app, libglade reports
these warnings:

libglade-WARNING **: could not find signal handler 'on_button2_clicked'.
libglade-WARNING **: could not find signal handler 'on_button1_clicked'.
libglade-WARNING **: could not find signal handler 'on_button3_clicked'.

These 3 warnings can be resolved by using "G_MODULE_EXPORT" at the
definition of the handler functions.
But I didn't found a solution for the built in handler functions, for
example:

libglade-WARNING **: could not find signal handler 'gtk_widget_destroy'.

This issue was already reported  in 
http://sourceware.org/ml/cygwin/2005-01/msg00367.html
but there was no solution.

For compiling I used the following batch file:

export CFLAGS="`pkg-config libglade-2.0 gtk+-2.0   --cflags`"
export LDADD="`pkg-config libglade-2.0 gtk+-2.0  --libs`"
export LINKARGS="-Wl,-export-dynamic " #this should be set by pkg-config
but wasn't
export CC="gcc"
export OPTIONS="-g -Wall"
$CC $OPTIONS tp.c -o tp.exe $CFLAGS $LINKARGS $LDADD


Is this probably a problem with GCC?  Do I need to recompile the
libglade package?  



thx 
sasa

--------
my gcc version:
gcc -v
Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose
--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
--libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,d,f77,java,objc --enable-nls
--without-included-gettext --enable-version-specific-runtime-libs
--without-x --enable-libgcj --disable-java-awt --with-system-zlib
--enable-interpreter --disable-libgcj-debug --enable-threads=posix
--enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions
--enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured) 
Thread model: posix
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)



____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.8141 from 26.06.2006

Attachment: cygcheck.out
Description: Binary data

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]