[gtk+/rendering-cleanup: 90/142] quartz: Remove else-clause for pixmaps



commit 3efd5894aa151a343669d8a6754b15419c746ca7
Author: Kristian Rietveld <kris gtk org>
Date:   Tue Sep 14 08:18:42 2010 +0200

    quartz: Remove else-clause for pixmaps

 gdk/quartz/gdkdrawable-quartz.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdk/quartz/gdkdrawable-quartz.c b/gdk/quartz/gdkdrawable-quartz.c
index ea8736a..1822061 100644
--- a/gdk/quartz/gdkdrawable-quartz.c
+++ b/gdk/quartz/gdkdrawable-quartz.c
@@ -285,8 +285,6 @@ gdk_quartz_drawable_release_context (GdkDrawable  *drawable,
           [window_impl->view unlockFocus];
         }
     }
-  else if (GDK_IS_PIXMAP_IMPL_QUARTZ (drawable))
-    CGContextRelease (cg_context);
 }
 
 void



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