diff options
author | Kristian Rietveld <kris@gtk.org> | 2010-10-16 20:16:19 +0200 |
---|---|---|
committer | Kristian Rietveld <kris@gtk.org> | 2010-10-17 10:30:46 +0200 |
commit | 47969615b230a835a76e5e847099bb0e31e98c46 (patch) | |
tree | 1567641cfee0887689cae1e9219f750c8e70a212 /demos/gtk-demo | |
parent | b06f05e72caf1aa2e160b211a8c8f22c2d68b923 (diff) | |
download | gtk+-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.c | 2 |
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; } |