summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-03-08 23:56:43 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-03-08 23:56:43 -0500
commitbf88eee1318eb4c47c31ad1b32f515bb6c5d37f2 (patch)
treede34b8ac1a054d70d013b5bf663e6a5404f96d33 /gtk/gtkfilesystem.h
parent2036d9262e84feed7d89e22a25cf1918c598c797 (diff)
downloadgtk+-bf88eee1318eb4c47c31ad1b32f515bb6c5d37f2.tar.gz
Fix file chooser refcounting issues
This was reported in bug 600992.
Diffstat (limited to 'gtk/gtkfilesystem.h')
-rw-r--r--gtk/gtkfilesystem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkfilesystem.h b/gtk/gtkfilesystem.h
index 58f1b4191f..a92c8f89e9 100644
--- a/gtk/gtkfilesystem.h
+++ b/gtk/gtkfilesystem.h
@@ -162,7 +162,8 @@ GdkPixbuf * _gtk_file_system_volume_render_icon (GtkFileSystemVol
gint icon_size,
GError **error);
-void _gtk_file_system_volume_free (GtkFileSystemVolume *volume);
+GtkFileSystemVolume *_gtk_file_system_volume_ref (GtkFileSystemVolume *volume);
+void _gtk_file_system_volume_unref (GtkFileSystemVolume *volume);
/* GtkFileSystemBookmark methods */
void _gtk_file_system_bookmark_free (GtkFileSystemBookmark *bookmark);