]> Pileus Git - ~andy/gtk/commit
Adding note to docs of gtk_widget_set_window()
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 9 Sep 2010 18:22:20 +0000 (03:22 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Thu, 9 Sep 2010 18:25:21 +0000 (03:25 +0900)
commita6a036ce22c2fa21b47a405e625360c02a140c91
tree80ac70404d14d9c0a7f23175e55e35ce92c2bcdf
parent6624da6393bb466d7101cb1f8ce3b4b6bc1a221e
Adding note to docs of gtk_widget_set_window()

gtk_widget_set_window() does not add a reference to the
owned window... this is an exception to most gtk_foo_set_bar()
functions where as it acts as if it were named gtk_widget_take_window().

Adding note to the docs to avoid people giving the window to the
widget and naturally proceeding to unref the window.
gtk/gtkwidget.c