[libwnck/gtk3] ::draw doesn't own the cairo_t, so don't cairo_destroy it



commit 73c4b64636e247abe7b0f51845d869549b48b5c6
Author: Christian Persch <chpe gnome org>
Date:   Fri Dec 3 15:40:19 2010 +0100

    ::draw doesn't own the cairo_t, so don't cairo_destroy it

 libwnck/pager.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libwnck/pager.c b/libwnck/pager.c
index 159c451..a89e3b4 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -1372,8 +1372,6 @@ wnck_pager_draw (GtkWidget *widget,
       ++i;
     }
 
-  cairo_destroy (cr);
-
   return FALSE;
 }
 



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