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 609195 - gdk/directfb: gdkdnd-directfb's private data is used uninitialized
gdk/directfb: gdkdnd-directfb's private data is used uninitialized
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: [obsolete] Backend: directfb
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Michael Emmel
Depends on:
Blocks:
 
 
Reported: 2010-02-06 23:32 UTC by André Draszik
Modified: 2010-02-07 19:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use G_TYPE_INSTANCE_GET_PRIVATE() instead (4.83 KB, patch)
2010-02-06 23:38 UTC, André Draszik
committed Details | Review

Description André Draszik 2010-02-06 23:32:49 UTC
because g_new() is used instead of g_new0()
Comment 1 André Draszik 2010-02-06 23:38:00 UTC
Created attachment 153171 [details] [review]
Use G_TYPE_INSTANCE_GET_PRIVATE() instead

In the process, convert to using G_DEFINE_TYPE, too
Comment 2 Cody Russell 2010-02-07 16:46:09 UTC
Review of attachment 153171 [details] [review]:

Looks fine.
Comment 3 Javier Jardón (IRC: jjardon) 2010-02-07 19:09:40 UTC
Comment on attachment 153171 [details] [review]
Use G_TYPE_INSTANCE_GET_PRIVATE() instead

commit e1a83243e41f5bfc3d7b0b0536a3ec5d2e841a2a
Comment 4 Javier Jardón (IRC: jjardon) 2010-02-07 19:09:50 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.