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 611319 - gtk_window_set_transient_for undocumented NULL value for parent
gtk_window_set_transient_for undocumented NULL value for parent
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
2.18.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-02-27 20:23 UTC by Luca Bruno
Modified: 2010-03-09 02:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Document the use of NULL in gtk_window_set_transient_for (852 bytes, patch)
2010-03-05 17:21 UTC, Christian Dywan
none Details | Review

Description Luca Bruno 2010-02-27 20:23:15 UTC
Hello,
forwarding from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366253.
Usually gtk-doc documentation says whether arguments can be NULL. In this case there's also gtk_window_unset_transient_for so using NULL for set_transient_for is somewhat ambiguous and one can think of some undefined behavior. Really in the code it falls back to using unset_transient_for when parent is NULL but please mention it in the documentation.
Comment 1 Christian Dywan 2010-03-05 17:21:28 UTC
Created attachment 155335 [details] [review]
Document the use of NULL in gtk_window_set_transient_for