[evolution] e-table: Remove unused GdkGC
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] e-table: Remove unused GdkGC
- Date: Fri, 29 Oct 2010 18:40:29 +0000 (UTC)
commit 68c2986245ec68ad89e678d84559ed57679939ee
Author: Benjamin Otte <otte redhat com>
Date: Wed Oct 20 20:39:01 2010 +0200
e-table: Remove unused GdkGC
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 6fe6413..56a9539 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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]