diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-03-07 22:09:13 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-07 22:09:13 +0000 |
commit | d1134c490888e19293485fc48d8ddcaacc42a410 (patch) | |
tree | 4a9c6f5bb90a9dfc939e11b76b93fe26cee6868e /gtk/gtkfilechooser.c | |
parent | 40b2753db56ab831a3a2f56717042a94a64ff6ff (diff) | |
download | gdk-pixbuf-d1134c490888e19293485fc48d8ddcaacc42a410.tar.gz |
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)
Diffstat (limited to 'gtk/gtkfilechooser.c')
-rw-r--r-- | gtk/gtkfilechooser.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c index 83c95f1f4..6e8f54d32 100644 --- a/gtk/gtkfilechooser.c +++ b/gtk/gtkfilechooser.c @@ -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 **/ |