[gimp] spinscale: remove our own border drawing



commit 44b9bfe613b6e09e7df0d0f5c10ebffd1682710f
Author: Michael Natterer <mitch gimp org>
Date:   Wed May 2 20:37:24 2018 +0200

    spinscale: remove our own border drawing

 app/widgets/gimpspinscale.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/app/widgets/gimpspinscale.c b/app/widgets/gimpspinscale.c
index 6cf6954..a2d292c 100644
--- a/app/widgets/gimpspinscale.c
+++ b/app/widgets/gimpspinscale.c
@@ -424,13 +424,6 @@ gimp_spin_scale_draw (GtkWidget *widget,
       cairo_fill (cr);
     }
 
-  cairo_set_line_width (cr, 1.0);
-
-  cairo_rectangle (cr, 0.5, 0.5,
-                   allocation.width - 1.0, allocation.height - 1.0);
-  gdk_cairo_set_source_rgba (cr, &text_color);
-  cairo_stroke (cr);
-
   if (private->label)
     {
       gint           minimum_width;


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