On 09/12/2012 06:30 PM, Rudra Banerjee wrote: > Oliver, > Thanks for your reply. > The problem basically is to pass on the function argument from one to > other.
you need to create a header file (main.h) that has the enum, and extern GtkListStore *treestore; in main.c define GtkListStore *treestore; somewhere in the top of fthe file, *not* inside a function. then include this both in main.c and in otherfile.c like #include "main.h" Olivier _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list