[Glade-users] Problem linking signal handlers to functions
y g
odysseus.lost at gmail.com
Wed Jun 15 05:03:08 EDT 2005
On 6/14/05, Damon Chaplin <damon at karuna.uklinux.net> wrote:
> 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
>
Add
-export-dynamic
More information about the Glade-users
mailing list