diff options
author | Benjamin Otte <otte@redhat.com> | 2010-10-21 02:39:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 01:50:04 +0800 |
commit | 68c2986245ec68ad89e678d84559ed57679939ee (patch) | |
tree | 18a8c6615c22005bc8d02d1e8ea3a274c9dd65cb /widgets/table | |
parent | 1e74b08c03fad5db67fae46ba14d69105a06955f (diff) | |
download | gsoc2013-evolution-68c2986245ec68ad89e678d84559ed57679939ee.tar.gz gsoc2013-evolution-68c2986245ec68ad89e678d84559ed57679939ee.tar.zst gsoc2013-evolution-68c2986245ec68ad89e678d84559ed57679939ee.zip |
e-table: Remove unused GdkGC
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-cell-tree.c | 4 |
1 files changed, 0 insertions, 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); } } |