Document ownership of filters. (#169101, Sebastian Rittau)

2005-03-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_add_filter): Document
	ownership of filters.  (#169101, Sebastian Rittau)
This commit is contained in:
Matthias Clasen 2005-03-07 22:09:13 +00:00 committed by Matthias Clasen
parent 40b2753db5
commit d1134c4908

View File

@ -1443,7 +1443,10 @@ gtk_file_chooser_get_extra_widget (GtkFileChooser *chooser)
*
* Adds @filter to the list of filters that the user can select between.
* When a filter is selected, only files that are passed by that
* filter are displayed.
* filter are displayed.
*
* Note that the @chooser takes ownership of the filter, so you have to
* ref and sink it if you want to keep a reference.
*
* Since: 2.4
**/