[gimp] app: enable cairo drawing for the color picker tool



commit 721fae71fb2249648b2cc6225be143c0349b0183
Author: Michael Natterer <mitch gimp org>
Date:   Wed Sep 22 22:45:17 2010 +0200

    app: enable cairo drawing for the color picker tool

 app/tools/gimpcolorpickertool.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpcolorpickertool.c b/app/tools/gimpcolorpickertool.c
index 9e2f304..b79db5f 100644
--- a/app/tools/gimpcolorpickertool.c
+++ b/app/tools/gimpcolorpickertool.c
@@ -124,6 +124,8 @@ gimp_color_picker_tool_init (GimpColorPickerTool *tool)
   GimpColorTool *color_tool = GIMP_COLOR_TOOL (tool);
 
   color_tool->pick_mode = GIMP_COLOR_PICK_MODE_FOREGROUND;
+
+  GIMP_DRAW_TOOL (tool)->use_cairo = TRUE;
 }
 
 static GObject *



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