aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-group-container.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-24 03:48:19 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-24 03:48:19 +0800
commit2def5aacb2ade53ff07a9d6b9f63438fe01e877b (patch)
tree7fff79b728b7fd7c1a149e6618999d79b8ae35d2 /widgets/table/e-table-group-container.c
parent83c1664ef72b6c4a905db6f27f21c841d4328def (diff)
downloadgsoc2013-evolution-2def5aacb2ade53ff07a9d6b9f63438fe01e877b.tar
gsoc2013-evolution-2def5aacb2ade53ff07a9d6b9f63438fe01e877b.tar.gz
gsoc2013-evolution-2def5aacb2ade53ff07a9d6b9f63438fe01e877b.tar.bz2
gsoc2013-evolution-2def5aacb2ade53ff07a9d6b9f63438fe01e877b.tar.lz
gsoc2013-evolution-2def5aacb2ade53ff07a9d6b9f63438fe01e877b.tar.xz
gsoc2013-evolution-2def5aacb2ade53ff07a9d6b9f63438fe01e877b.tar.zst
gsoc2013-evolution-2def5aacb2ade53ff07a9d6b9f63438fe01e877b.zip
Got rid of the gc argument to e_table_header_draw_button.
2001-10-23 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-item.c: Got rid of the gc argument to e_table_header_draw_button. (etfci_font_load): Just use the style font here. * e-table-group-container.c (e_table_group_container_construct): Changed this to just use the font from the style. Fixes Ximian bug #11882. * e-table-header-item.c: Got rid of the gc argument to e_table_header_draw_button. (ethi_font_load): Changed this to just fallback on the font from the style if the fontname is NULL or doesn't load to a font. Fixes Ximian bug #11882. * e-table-header-utils.c, e-table-header-utils.h (e_table_header_draw_button): Got rid of the gc parameter here and changed to use the gc from the style of a button created for this purpose, but not shown. Fixes Ximian bug #13251. svn path=/trunk/; revision=13949
Diffstat (limited to 'widgets/table/e-table-group-container.c')
-rw-r--r--widgets/table/e-table-group-container.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c
index 0a73ae7648..d7c43da070 100644
--- a/widgets/table/e-table-group-container.c
+++ b/widgets/table/e-table-group-container.c
@@ -148,13 +148,10 @@ e_table_group_container_construct (GnomeCanvasGroup *parent, ETableGroupContaine
etgc->n = n;
etgc->ascending = column.ascending;
-
- etgc->font = gdk_font_load ("lucidasans-10");
- if (!etgc->font){
- etgc->font = GTK_WIDGET (GNOME_CANVAS_ITEM (etgc)->canvas)->style->font;
-
- gdk_font_ref (etgc->font);
- }
+ etgc->font = GTK_WIDGET (GNOME_CANVAS_ITEM (etgc)->canvas)->style->font;
+
+ gdk_font_ref (etgc->font);
+
etgc->open = TRUE;
}