libglade-WARNING **: could not find signal handler



I am just coding my first GTK+ and Glade app in C, and running into
trouble at an early stage.

Basically, I have designed an interface in Glade, and the interface
loads up find with glade_xml_new.  However, glade_xml_signal_autoconnect
reports a warning in that it isn't able to find a signal handler for one
of my GtkMenuItems, despite the fact that I have defined the handler to
the API specification.

I asked about this in #gtk+, and a person who claimed to have "much
libglade experience" said he was "stumped by this one."

nm reports on the executable that on_open_avi_activate is seen as a
symbol, and it is so clearly defined that I really don't know what's
wrong.

I've linked to my code as a gzip'ed tarball, and you should be able to
build it on any Linux system.  When you run 'h2h', you will see a bunch
of warnings for libglade, but the one that doesn't make any sense is the
one for on_open_avi_activate.  You can see the definition for this
handler in window.c.

http://www.pixelmonkey.org/pub/h2h.tar.gz

Thanks for any help solving this mysterious problem,
-Andrew




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