Hi,
   It looks like you are using gtk-1.2. Try the
following command to compile

gcc -Wall -g filename.c -o filename $CFLAGS
`pkg-config gtk+-2.0 --cflags` `pkg-config gtk+-2.0
--libs`

Thanks
Deekshit M

--- srinivas <[EMAIL PROTECTED]> wrote:
> i compiled my pgm using 
> -> gcc -Wall -g filename.c -o filename $CFLAGS
> `gtk-config --cflags`
> `gtk-config --libs`.
> i got the error like this, 
> 
> error: `GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'
> undeclared (first
>         use in this function)
> error: `GTK_STOCK_CANCEL' undeclared (first use in
> this function)
> error: `GTK_RESPONSE_CANCEL' undeclared (first use
> in this function)
> error: `GTK_STOCK_OPEN' undeclared (first use in
> this function)
> error: `GTK_RESPONSE_ACCEPT' undeclared (first use
> in this function)
> 
> how to resolve the errors.
> 
> thanks;
> 
> vasu.
> 
> 
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
>
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to