[gimp/gtk3-port: 78/228] app: cairo_save()/restore() around chaining	up in draw()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gimp/gtk3-port: 78/228] app: cairo_save()/restore() around chaining	up in draw()
- Date: Tue, 23 Oct 2012 17:55:17 +0000 (UTC)
commit 7b881f01d1df7d44770cc45ed5edf5c7486a25f4
Author: Michael Natterer <mitch gimp org>
Date:   Fri Oct 22 17:33:47 2010 +0200
    app: cairo_save()/restore() around chaining up in draw()
 app/widgets/gimppaletteview.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimppaletteview.c b/app/widgets/gimppaletteview.c
index 011b375..5265509 100644
--- a/app/widgets/gimppaletteview.c
+++ b/app/widgets/gimppaletteview.c
@@ -166,7 +166,9 @@ gimp_palette_view_draw (GtkWidget *widget,
   GimpPaletteView *pal_view = GIMP_PALETTE_VIEW (widget);
   GimpView        *view     = GIMP_VIEW (widget);
 
+  cairo_save (cr);
   GTK_WIDGET_CLASS (parent_class)->draw (widget, cr);
+  cairo_restore (cr);
 
   if (view->renderer->viewable && pal_view->selected)
     {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]