summaryrefslogtreecommitdiff
path: root/gtk/gtkpathbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-03-08 23:56:43 -0500
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-03 20:59:07 -0400
commit57a3de1bcd94ba6fab8fdc875ef0e39242952d59 (patch)
tree1a5247c57a2acf6adb7460358c67d04841eecca5 /gtk/gtkpathbar.c
parentb229aa8d5ea35777f6987f8649ec22218af28279 (diff)
downloadgtk+-57a3de1bcd94ba6fab8fdc875ef0e39242952d59.tar.gz
Fix file chooser refcounting issues
This was reported in bug 600992.
Diffstat (limited to 'gtk/gtkpathbar.c')
-rw-r--r--gtk/gtkpathbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 48eec632d2..87bec1adfc 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1261,7 +1261,7 @@ set_button_image (GtkPathBar *path_bar,
GTK_WIDGET (path_bar),
path_bar->icon_size,
NULL);
- _gtk_file_system_volume_free (volume);
+ _gtk_file_system_volume_unref (volume);
gtk_image_set_from_pixbuf (GTK_IMAGE (button_data->image), path_bar->root_icon);
break;