[gnome-panel/gtk3] Remove unneeded cairo_pattern_destroy()



commit 322dc162364d7383885d87ef500e22802b5c5c7b
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Tue Jan 18 19:11:00 2011 +0100

    Remove unneeded cairo_pattern_destroy()

 libpanel-applet/panel-applet.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libpanel-applet/panel-applet.c b/libpanel-applet/panel-applet.c
index b8a6c82..60e9f14 100644
--- a/libpanel-applet/panel-applet.c
+++ b/libpanel-applet/panel-applet.c
@@ -1406,7 +1406,6 @@ panel_applet_get_pixmap (PanelApplet    *applet,
         cairo_fill (cr);
         gdk_error_trap_pop_ignored ();
 
-        cairo_pattern_destroy (pattern);
         cairo_surface_destroy (background);
 
         if (cairo_status (cr) == CAIRO_STATUS_SUCCESS) {



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