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 61055 - GType for GtkCTreeNodes
GType for GtkCTreeNodes
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-09-24 14:32 UTC by James Henstridge
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add boxed type for GtkCTreeNode (5.57 KB, patch)
2001-09-24 14:33 UTC, James Henstridge
none Details | Review

Description James Henstridge 2001-09-24 14:32:51 UTC
Some time during the 1.3.x development cycle, the GtkCTreeNode arguments to
the GtkCTree signals were changed from GTK_TYPE_CTREE_NODE's to
GTK_TYPE_POINTER's.  I believe this was done because the CTreeNodes don't
follow the standard boxed memory management model.

This change doesn't really affect C programmers, however it makes those
signals useless in language bindings which use the GType type information
to decide how to wrap a signal argument.  This means that programmers using
such a language binding would need to change over to GtkTree* straight away.

The following patch adds a new boxed type for GtkCTreeNodes using no-op
copy/free functions, to add type information to the signal arguments.  This
makes the widget usable for programmers using a LB while they are
transitioning programs to the new widgets.
Comment 1 James Henstridge 2001-09-24 14:33:38 UTC
Created attachment 5678 [details] [review]
add boxed type for GtkCTreeNode
Comment 2 James Henstridge 2001-09-25 07:51:17 UTC
patch commited to CVS.