diff options
author | Iain Holmes <iain@src.gnome.org> | 2000-09-15 21:12:23 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2000-09-15 21:12:23 +0800 |
commit | 1cf3dc86f1b7da2c1019189f87a6c196ba6aea91 (patch) | |
tree | 4131a802d93c825727b9ae706be2df1568b108b2 /widgets/table | |
parent | 6ad9320356d4342e7fcf44f45f2798b2a94dac92 (diff) | |
download | gsoc2013-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/table')
-rw-r--r-- | widgets/table/e-table-header-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 93e787dffc..ec25e0d0f0 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/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; |