From 68c2986245ec68ad89e678d84559ed57679939ee Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 20 Oct 2010 20:39:01 +0200 Subject: e-table: Remove unused GdkGC --- widgets/table/e-cell-tree.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/widgets/table/e-cell-tree.c b/widgets/table/e-cell-tree.c index 6fe64135c1..56a95394f3 100644 --- a/widgets/table/e-cell-tree.c +++ b/widgets/table/e-cell-tree.c @@ -261,14 +261,12 @@ ect_draw (ECellView *ecell_view, GdkDrawable *drawable, GdkRectangle rect, *clip_rect = NULL; GtkWidget *canvas = GTK_WIDGET (tree_view->canvas); GtkStyle *style; - GdkGC *fg_gc; GdkColor *foreground; gboolean selected; gint offset, subcell_offset; style = gtk_widget_get_style (canvas); - fg_gc = style->fg_gc[GTK_STATE_ACTIVE]; selected = flags & E_CELL_SELECTED; @@ -307,7 +305,6 @@ ect_draw (ECellView *ecell_view, GdkDrawable *drawable, rect.height = y2 - y1; gdk_gc_set_clip_rectangle (tree_view->gc, &rect); - gdk_gc_set_clip_rectangle (fg_gc, &rect); clip_rect = ▭ if (selected) { @@ -400,7 +397,6 @@ ect_draw (ECellView *ecell_view, GdkDrawable *drawable, if (clip_rect) { gdk_gc_set_clip_rectangle (tree_view->gc, NULL); - gdk_gc_set_clip_rectangle (fg_gc, NULL); } } -- cgit v1.2.3