aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-header-item.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2000-09-15 21:12:23 +0800
committerIain Holmes <iain@src.gnome.org>2000-09-15 21:12:23 +0800
commit1cf3dc86f1b7da2c1019189f87a6c196ba6aea91 (patch)
tree4131a802d93c825727b9ae706be2df1568b108b2 /widgets/e-table/e-table-header-item.c
parent6ad9320356d4342e7fcf44f45f2798b2a94dac92 (diff)
downloadgsoc2013-evolution-1cf3dc86f1b7da2c1019189f87a6c196ba6aea91.tar.gz
gsoc2013-evolution-1cf3dc86f1b7da2c1019189f87a6c196ba6aea91.tar.zst
gsoc2013-evolution-1cf3dc86f1b7da2c1019189f87a6c196ba6aea91.zip
Fix a crash in draw_button.
svn path=/trunk/; revision=5444
Diffstat (limited to 'widgets/e-table/e-table-header-item.c')
-rw-r--r--widgets/e-table/e-table-header-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/e-table/e-table-header-item.c b/widgets/e-table/e-table-header-item.c
index 93e787dffc..ec25e0d0f0 100644
--- a/widgets/e-table/e-table-header-item.c
+++ b/widgets/e-table/e-table-header-item.c
@@ -730,8 +730,8 @@ draw_button (ETableHeaderItem *ethi, ETableCol *col,
gtk_paint_box (style, drawable,
GTK_STATE_NORMAL, GTK_SHADOW_OUT,
- &clip, NULL, "button",
- x, y, width, height);
+ &clip, GTK_WIDGET (GNOME_CANVAS_ITEM (ethi)->canvas),
+ "button", x, y, width, height);
clip.x = x + HEADER_PADDING / 2;
clip.y = y + HEADER_PADDING / 2;