From 3fa08fe5b70f25df787fe02e05c6a9d8f1b6f06f Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Mon, 14 Oct 2002 01:43:30 +0000 Subject: [PATCH] Fixed default-font-weight bug. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@158 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/src/prefs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/glabels2/src/prefs.c b/glabels2/src/prefs.c index 8ea1a589..14bfdd0a 100644 --- a/glabels2/src/prefs.c +++ b/glabels2/src/prefs.c @@ -299,8 +299,7 @@ gl_prefs_load_settings (void) get_string (gconf_client, BASE_KEY PREF_DEFAULT_FONT_WEIGHT, DEFAULT_FONT_WEIGHT_STRING); - gl_prefs->default_font_weight = - gl_util_string_to_weight( string ); + gl_prefs->default_font_weight = gl_util_string_to_weight( string ); g_free( string ); gl_prefs->default_text_color = @@ -312,7 +311,7 @@ gl_prefs_load_settings (void) get_string (gconf_client, BASE_KEY PREF_DEFAULT_TEXT_ALIGNMENT, DEFAULT_TEXT_JUST_STRING); - gl_prefs->default_font_weight = gl_util_string_to_just( string ); + gl_prefs->default_text_alignment = gl_util_string_to_just( string ); g_free( string ); -- 2.39.5