Wireshark mailing list archives
Replacing gdk_pixmap_create_from_xpm_d in gui_utils.c
From: Anders Broman <a.broman () bredband net>
Date: Sun, 24 Jul 2011 22:05:41 +0200
Hi, Googling it looks like we'd want to do something along these lines instead: GList *Main_Icon_List=NULL; GdkPixbuf *Icon; icon = gdk_pixbuf_new_from_xpm_data ((const char **) wsicon16_xpm); Main_Icon_List = g_list_append (Main_Icon_List, Icon); gtk_window_set_icon_list(GTK_WINDOW(Window), Main_Icon_List);"Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them."
Unfortunately I don't have a Linux system to try it out on at the moment, so I'd appreciate if some one that has could
try it out. Best regards Anders ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Replacing gdk_pixmap_create_from_xpm_d in gui_utils.c Anders Broman (Jul 24)
- Re: Replacing gdk_pixmap_create_from_xpm_d in gui_utils.c Joerg Mayer (Jul 24)
- Re: Replacing gdk_pixmap_create_from_xpm_d in gui_utils.c Anders Broman (Jul 24)
- Re: Replacing gdk_pixmap_create_from_xpm_d in gui_utils.c Joerg Mayer (Jul 25)
- Re: Replacing gdk_pixmap_create_from_xpm_d in gui_utils.c Anders Broman (Jul 24)
- Re: Replacing gdk_pixmap_create_from_xpm_d in gui_utils.c Joerg Mayer (Jul 24)