GNOME Bugzilla – Bug 51256
GtkIconSource not extensible
Last modified: 2011-02-04 16:09:25 UTC
If we were to add fields to GtkIconSource, it would break a lot of user code with memory corruption problems. Any ideas?
The obvious way would be to make the GtkIconSource struct opaque, and instead have constructors (gtk_icon_source_new_from_filename(), gtk_icon_source_new_from_pixbuf()) and accessors (gtk_icon_source_get_filename() etc.).