[gnome-love] gtk_window_set_icon_name not working for GTK stock items



Anybody what I'm doing wrong.

If I do gtk_window_set_default_icon_name(window, "gnome-dev-cdrom"); I get the right window icon
However if I use a gtk stock item e.g. GTK_STOCK_CUT and do
gtk_window_set_default_icon_name(window, GTK_STOCK_CUT);
it does not work

Am I missing something or is this a bug in GTK?

Jaap



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]