After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 51256 - GtkIconSource not extensible
GtkIconSource not extensible
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-02-22 14:06 UTC by Havoc Pennington
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Havoc Pennington 2001-02-22 14:06:41 UTC
If we were to add fields to GtkIconSource, it would break a lot of user
code with memory corruption problems. Any ideas?
Comment 1 Alexander Larsson 2001-02-27 15:01:17 UTC
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.).