Bug#366253: Invalid argument to gtk_window_set_transient_for does not result in warning

Luca Bruno lethalman88 at gmail.com
Sat Feb 27 20:24:45 UTC 2010


retitle 366253 Undocumented gtk_window_set_transient_for possible NULL parent
reassign 366253 libgtk2.0-doc
severity 366253 minor
forwarded 366253 http://bugzilla.gnome.org/show_bug.cgi?id=611319
thanks

Hello,
gtk_window_set_transient_for code correctly handles NULL. So the check is
right, it can be either NULL or a valid window. If it is NULL, you can see
that the code inside the function still works and do operations that need to
be done even when the parent is NULL.

More over, the bug could be about the documentation not saying parent can be
NULL and that it's equivalent to gtk_window_unset_transient_for.
Forwarding the bug as a documentation request, retitling the bug, lowering to
minor and reassigning to libgtk2.0-doc.

Thanks for the bug report.

-- 
http://www.debian.org - The Universal Operating System
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100227/6c66cc1a/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list