I found a way to do that, maybe someone will need it too.
You have to create a resource file that references your icon. --- begin foo.rc --- 1 ICON "foo.ico" --- end foo.rc --- Then compile this file with windres windres foo.rc fooicon.o Then link your program. gcc -o foo.exe -mwindows foo.o fooicon.o ... _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list