GNOME Bugzilla – Bug 665409
statusicon: port to GtkIconHelper
Last modified: 2011-12-05 14:10:37 UTC
See attached patch. I can't test the Win32 and OSX code paths, but they should work fine.
Created attachment 202629 [details] [review] statusicon: port to GtkIconHelper Just always render the pixbuf ourselves and set it on the GtkImage in the X11 case. Code for other backends was already rendering the pixbuf manually before translating it into a native type, so this greatly simplifies the code.
Created attachment 202631 [details] [review] statusicon: port to GtkIconHelper Better patch, plugged a leak and (hopefully) build cleanly on Win32 and OSX too.
I haven't tested this, but I like the overall simplification. So, if it works ok in your testing, I'd say commit it and solicit some testing for win32 and osx.
Attachment 202631 [details] pushed as 2e01dc1 - statusicon: port to GtkIconHelper Thanks, this is pushed to master now.