[Glade-users] Problem linking signal handlers to functions



On Tue, 2005-06-14 at 02:13 -0500, Scott Nazelrod wrote:
Hello there,
I'm having a problem with a program I'm writing in GTK. I'm using
libglade along with Dev-C++ (mingw) on a Windows system at the moment
(I'm planning to use Linux in the coming weeks). However, I am having
getting the program to end.

I've traced this problem back as far as I could, and it seems to be
that the functions that I've set up to handle the Destroy signal
(alas, *any* signal) are not being called correctly. It seems that the
signals are not causing any of the signals to execute properly. I've
checked the code against the original *.glade file, and I know that
they are named correctly. So I'm thinking that there may be something
wrong with the "glade_xml_signal_autoconnect(xml);" line of code. Does
this not work on Windows? Or am I just missing something?

You may need to use a special flag when linking.
See the Note here:
 http://developer.gnome.org/doc/API/2.0/libglade/libglade-notes.html

Damon





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