[gtk+] Revert "GtkColorButton: Don't forget to close a cairo context"



commit f7dbdba2670620826cb460ff21b640ea8be98312
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 24 12:09:56 2011 -0400

    Revert "GtkColorButton: Don't forget to close a cairo context"
    
    This reverts commit 144e4af8bc583af536851bf6b11daaad8b5e4435.

 gtk/gtkcolorbutton.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 72e4ddb..5f13c54 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -336,8 +336,6 @@ gtk_color_button_draw_cb (GtkWidget *widget,
       cairo_pattern_destroy (checkered);
     }
 
-  cairo_destroy (cr);
-
   return FALSE;
 }
 



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