GNOME Bugzilla – Bug 611319
gtk_window_set_transient_for undocumented NULL value for parent
Last modified: 2010-03-09 02:25:20 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.
Created attachment 155335 [details] [review] Document the use of NULL in gtk_window_set_transient_for