[gnome-settings-daemon] Don't destroy the cairo context in draw handler



commit d88e7aa475e39673accae45eb2bd5d14a2c9d6a3
Author: William Jon McCann <jmccann redhat com>
Date:   Sat Oct 2 14:08:26 2010 -0400

    Don't destroy the cairo context in draw handler

 plugins/common/gsd-osd-window.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/common/gsd-osd-window.c b/plugins/common/gsd-osd-window.c
index d36c550..64719dd 100644
--- a/plugins/common/gsd-osd-window.c
+++ b/plugins/common/gsd-osd-window.c
@@ -294,7 +294,6 @@ draw_when_composited (GtkWidget *widget, cairo_t *context)
         if (surface != NULL) {
                 cairo_surface_destroy (surface);
         }
-        cairo_destroy (context);
 }
 
 /* This is our draw handler when the window is *not* in a compositing manager.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]