]> git.sur5r.net Git - glabels/commitdiff
Fixed default-font-weight bug.
authorJim Evins <evins@snaught.com>
Mon, 14 Oct 2002 01:43:30 +0000 (01:43 +0000)
committerJim Evins <evins@snaught.com>
Mon, 14 Oct 2002 01:43:30 +0000 (01:43 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@158 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/prefs.c

index 8ea1a589888832f23cc40b238e198af5d695e1c7..14bfdd0aa452c33cc3a1fba00d5b441a17ea77b4 100644 (file)
@@ -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 );