summaryrefslogtreecommitdiff
path: root/demos/gtk-demo
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2010-10-16 20:16:19 +0200
committerKristian Rietveld <kris@gtk.org>2010-10-17 10:30:46 +0200
commit47969615b230a835a76e5e847099bb0e31e98c46 (patch)
tree1567641cfee0887689cae1e9219f750c8e70a212 /demos/gtk-demo
parentb06f05e72caf1aa2e160b211a8c8f22c2d68b923 (diff)
downloadgtk+-47969615b230a835a76e5e847099bb0e31e98c46.tar.gz
Use cairo_surface_destroy instead of g_object_unref
Diffstat (limited to 'demos/gtk-demo')
-rw-r--r--demos/gtk-demo/drawingarea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/drawingarea.c b/demos/gtk-demo/drawingarea.c
index b0b760a693..4af4cae1d2 100644
--- a/demos/gtk-demo/drawingarea.c
+++ b/demos/gtk-demo/drawingarea.c
@@ -193,7 +193,7 @@ close_window (void)
window = NULL;
if (surface)
- g_object_unref (surface);
+ cairo_surface_destroy (surface);
surface = NULL;
}