I'm trying to set up a simple GTK+ program using Glade and Dev C++, but the compiler (mingw) isn't liking these lines from support.h:
void glade_set_atk_action_description (AtkAction *action, const gchar *action_name, const gchar *description);
GdkPixbuf* create_pixbuf (const gchar *filename);
Anyone know why?
The lines in isolation aren't much help. What are the compiler errors?
syntax error before * token
>>3
were there any errors before that?
You forgot to include some file that including support.h requires. There's no way for a C compiler to tell some identifiers are supposed to be typedeffed in another part of the program, so what you get is a syntax error. I'd blame the lack of definition for either or both of AtkAction and GdkPixbuf; you likely need to include the proper ATK and GDK (or GTK) headers to get it to compile.
Or you could take a peep at the numerous Glade examples and their build systems and main programs. That'd help, I'd wager.