From 6a10700ca59e546c7a05688bdf5bffa388286bff Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 11 Jan 2013 17:07:22 -0800 Subject: Add default filename and divelist font to prefs structure .. and add the usual logic to not save the default values. This also simplifies the initial system-specific setup of both of these: since we have defaults for all the preferences that get set up at startup, we can just initialize those defaults to the system-specific fonts then and there. Signed-off-by: Linus Torvalds Signed-off-by: Dirk Hohndel --- statistics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'statistics.c') diff --git a/statistics.c b/statistics.c index b4427918d..dc2304ec5 100644 --- a/statistics.c +++ b/statistics.c @@ -154,7 +154,7 @@ static void init_tree() GtkTreeViewColumn *column; GtkTreeStore *store; int i; - PangoFontDescription *font_desc = pango_font_description_from_string(divelist_font); + PangoFontDescription *font_desc = pango_font_description_from_string(prefs.divelist_font); gtk_widget_modify_font(yearly_tree, font_desc); pango_font_description_free(font_desc); -- cgit v1.2.3-70-g09d2