summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/fpicker
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-15 09:44:05 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-15 20:27:15 +0100
commit939b55cfa8a52d32d20bfc89105342b508c080b8 (patch)
tree479ea871f2a86b7727183ff50a1561a06bea3a35 /vcl/unx/gtk/fpicker
parenta206bc22623caba30c0285fda0fe0da8879efea3 (diff)
WaE: deprecated function
Diffstat (limited to 'vcl/unx/gtk/fpicker')
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 55887785b589..9483bd353067 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -1560,7 +1560,7 @@ void SalGtkFilePicker::update_preview_cb( GtkFileChooser *file_chooser, SalGtkFi
gtk_image_set_from_pixbuf( GTK_IMAGE( preview ), pixbuf );
if( pixbuf )
- gdk_pixbuf_unref( pixbuf );
+ g_object_unref( G_OBJECT( pixbuf ) );
}