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 755083 - Clarify in G_ADD_PRIVATE that it is safe to call _get_instance_private(NULL)
Clarify in G_ADD_PRIVATE that it is safe to call _get_instance_private(NULL)
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: docs
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-09-15 20:42 UTC by Xavier Claessens
Modified: 2015-09-22 15:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
doc: clarify that _get_instance_private() is NULL-safe (1010 bytes, patch)
2015-09-15 20:43 UTC, Xavier Claessens
none Details | Review
doc: clarify that _get_instance_private() is NULL-safe (1.44 KB, patch)
2015-09-15 20:43 UTC, Xavier Claessens
committed Details | Review

Description Xavier Claessens 2015-09-15 20:42:40 UTC
.
Comment 1 Xavier Claessens 2015-09-15 20:43:01 UTC
Created attachment 311411 [details] [review]
doc: clarify that _get_instance_private() is NULL-safe
Comment 2 Xavier Claessens 2015-09-15 20:43:35 UTC
Created attachment 311412 [details] [review]
doc: clarify that _get_instance_private() is NULL-safe
Comment 3 Allison Karlitskaya (desrt) 2015-09-22 15:01:35 UTC
Review of attachment 311412 [details] [review]:

initial reaction: "why?!?!"

after reading: "okay.  that makes sense."
Comment 4 Xavier Claessens 2015-09-22 15:16:11 UTC
Attachment 311412 [details] pushed as 3281159 - doc: clarify that _get_instance_private() is NULL-safe