From: Jim Evins Date: Mon, 14 Oct 2002 01:43:30 +0000 (+0000) Subject: Fixed default-font-weight bug. X-Git-Tag: glabels-2_3_0~729 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3fa08fe5b70f25df787fe02e05c6a9d8f1b6f06f;p=glabels Fixed default-font-weight bug. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@158 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- 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 );