Re: gtk_window_set_icon_list
- From: TP Muller <tpm01 aber ac uk>
- To: me ok <mjaz_the_mighty2 yahoo com>, gtk-list <gtk-app-devel-list gnome org>
- Subject: Re: gtk_window_set_icon_list
- Date: Mon, 12 Aug 2002 07:00:29 +0100
On Monday 12 August 2002 06:46, me ok wrote:
I have managed to get gtk_window_set_icon to work but
not when using a GList. Here is a snippit of the relevent code:
GList *Main_Icon_List=NULL;
gchar *Main_Icon_Names[6][13]= { "micon16.png",
"micon32.png", "micon48.png", "micon64.png",
"micon128.png" };
GdkPixbuf *Icon;
Icon = gdk_pixbuf_new_from_file(Main_Icon_Names[0],
NULL);
g_list_append(Main_Icon_List, Icon);
gtk_window_set_icon_list(GTK_WINDOW(Window),
Main_Icon_List);
I suppose you have to do
Main_Icon_List = g_list_append (Main_Icon_List, Icon);
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]