Re: Porting GTK+ app from defining custom stock items to using GtkIconTheme

2014-02-25 Thread Bálint Réczey
And the missing link to the change: https://code.wireshark.org/review/#/c/302/1/ui/gtk/stock_icons.c 2014-02-25 21:39 GMT+01:00 Bálint Réczey : > Hi, > > I'm trying to move Wireshark from using the deprecated > gtk_toggle_tool_button_new_from_stock(), etc. API to use > gtk_toggle_tool_button_new()

Porting GTK+ app from defining custom stock items to using GtkIconTheme

2014-02-25 Thread Bálint Réczey
Hi, I'm trying to move Wireshark from using the deprecated gtk_toggle_tool_button_new_from_stock(), etc. API to use gtk_toggle_tool_button_new() and friends instead. Wireshark defines many custom icons icons, but they can't be properly set on buttons/toolbars or in menus. The ones loaded XPM form