[gtk+] Use cairo_surface_destroy instead of g_object_unref
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Use cairo_surface_destroy instead of g_object_unref
- Date: Sun, 17 Oct 2010 08:53:34 +0000 (UTC)
commit 47969615b230a835a76e5e847099bb0e31e98c46
Author: Kristian Rietveld <kris gtk org>
Date: Sat Oct 16 20:16:19 2010 +0200
Use cairo_surface_destroy instead of g_object_unref
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 b0b760a..4af4cae 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]