window icons

"alex_shaduri <[email protected]>" <[email protected]> Fri, 24 Jan 2003 15:52:40 -0000
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
How do I set icons for gtk apps in win32? I tried doing it several ways, they seem to work in KDE but I am not able to make them work in windows.
My code goes something like this:

GdkPixbuf* icon = gdk_pixbuf_new_from_file("appicon.ico", &error);
gtk_window_set_icon (GTK_WINDOW(g_main_window), icon);

I also tried to set these icons in glade2, but it doesn't seem to work either.

P.S. I get no error while loading icons...



To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/