Lee Smith wrote:
> 
> Thx guys for helping me out with my previous Compiling problem.  It worked
> by editing the Makefile to include my Sybase stuff.  Another problem now.  I
> have a menu item called Connect, amongst others.  When the user clicks
> connect I want it to run a fuction.  I have used the callbacks but I always
> get errors in all the methods I use.  Eg.  I have made a funtion in the
> main.c file which is called sdb_connect.  This does all the db stuff.  I
> call this by placing sdb_connect(); in the callback of activating the menu
> item.  When trying to compile it says undefined fuction.  The is obviously
> because main.c is not seen my callbacks.c. 

In your main.c: #include "callbacks.h"

-- 
    JiheM

+---------------------------------------------------------------------+
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