[gnome-themes-standard] adwaita: remove unused code



commit 2e5798919fe47d26ef30513fc9efee1a03376848
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Jun 10 01:09:18 2011 -0400

    adwaita: remove unused code

 src/adwaita_utils.c                    |   26 --------------------------
 src/adwaita_utils.h                    |   10 ----------
 themes/Adwaita/gtk-3.0/gtk-widgets.css |    1 -
 3 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/src/adwaita_utils.c b/src/adwaita_utils.c
index 60dd12b..ad3e348 100644
--- a/src/adwaita_utils.c
+++ b/src/adwaita_utils.c
@@ -147,32 +147,6 @@ _cairo_round_rectangle_sides (cairo_t          *cr,
     }
 }
 
-void
-_cairo_uneven_frame (cairo_t          *cr,
-                     gdouble           radius,
-                     gdouble           x,
-                     gdouble           y,
-                     gdouble           width,
-                     gdouble           height,
-                     GtkBorder        *border,
-                     GtkJunctionSides  junction)
-{
-  cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD);
-  cairo_set_line_width (cr, 1);
-
-  _cairo_round_rectangle_sides (cr, (gdouble) radius,
-                                x, y,
-                                width, height,
-                                SIDE_ALL, junction);
-
-  _cairo_round_rectangle_sides (cr, (gdouble) radius,
-                                x + border->left,
-                                y + border->top,
-                                width - border->left - border->right,
-                                height - border->top - border->bottom,
-                                SIDE_ALL, junction);
-}
-
 /* Set the appropriate matrix for
  * patterns coming from the style context
  */
diff --git a/src/adwaita_utils.h b/src/adwaita_utils.h
index e50a52f..bfed047 100644
--- a/src/adwaita_utils.h
+++ b/src/adwaita_utils.h
@@ -58,16 +58,6 @@ style_pattern_set_matrix (cairo_pattern_t *pattern,
 			  gboolean         repeat);
 
 void
-_cairo_uneven_frame (cairo_t          *cr,
-                     gdouble           radius,
-                     gdouble           x,
-                     gdouble           y,
-                     gdouble           width,
-                     gdouble           height,
-                     GtkBorder        *border,
-                     GtkJunctionSides  junction);
-
-void
 _cairo_round_rectangle_sides (cairo_t          *cr,
                               gdouble           radius,
                               gdouble           x,
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 97d5f89..869db57 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1067,7 +1067,6 @@ GtkIconView.view.cell:selected:focused {
     background-color: @theme_base_color;
     color: @theme_fg_color;
     border-radius: 0;
-    border-width: 3;
 }
 
 GtkTreeView {



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