James Henstridge writes:
 > C++ performs symbol mangling, which is why libglade could not find
 > the symbol.  If you look at the object file containing the function
 > with nm, you should see that the function name there is different.
 > 
 > To fix the problem, you will have to declare that your function
 > should be usable from C.  Something like:
 >   extern "C" void on_zoom_valeur_activate (GtkWidget * w, gpointer
 >   data);
 > 
 > This only limits what you can put in the argument list to C syntax
 > (ie.  no default arguments or alternate implementations with
 > different argument lists) -- it doesn't limit you to only C syntax
 > inside the function body.  This will prevent the compiler from
 > mangling the symbol name.


Thanks for the info. I finaly do the connect signal stuff by hand as I
also need to pass data to the handler.



+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to