[gtk/wip/baedert/for-master: 5/15] treeview: Remove GTK_TREE_VIEW_FOREGROUND_LINE



commit dd7d171186b2a9d0cf4791d7014e6a634f6fffc7
Author: Timm Bäder <mail baedert org>
Date:   Fri Aug 9 20:01:43 2019 +0200

    treeview: Remove GTK_TREE_VIEW_FOREGROUND_LINE

 gtk/gtktreeview.c | 11 -----------
 1 file changed, 11 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index c5218b14e0..dfda0a38e8 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -4235,7 +4235,6 @@ invalidate_empty_focus (GtkTreeView *tree_view)
 typedef enum {
   GTK_TREE_VIEW_GRID_LINE,
   GTK_TREE_VIEW_TREE_LINE,
-  GTK_TREE_VIEW_FOREGROUND_LINE
 } GtkTreeViewLineType;
 
 static void
@@ -4288,16 +4287,6 @@ gtk_tree_view_snapshot_line (GtkTreeView         *tree_view,
       }
       break;
 
-    case GTK_TREE_VIEW_FOREGROUND_LINE:
-      {
-        GdkRGBA color;
-
-        cairo_set_line_width (cr, 1.0);
-        gtk_style_context_get_color (context, &color);
-        gdk_cairo_set_source_rgba (cr, &color);
-      }
-      break;
-
     default:
       g_assert_not_reached ();
       break;


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