From c3487944318c546c644eddb1b20e8254ebc1617e Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Tue, 14 Feb 2006 17:26:40 +0000 Subject: [PATCH] Patch from Jens Granseuer to fix more build issues with gcc 2.95. #331166. 2006-02-14 Elijah Newren Patch from Jens Granseuer to fix more build issues with gcc 2.95. #331166. * src/prefs.c (meta_prefs_init): Remove C99 style variable initiailization --- ChangeLog | 8 ++++++++ src/prefs.c | 6 ++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6cf4ffc40..75bd857a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-02-14 Elijah Newren + + Patch from Jens Granseuer to fix more build issues with gcc 2.95. + #331166. + + * src/prefs.c (meta_prefs_init): + Remove C99 style variable initiailization + 2006-02-13 Elijah Newren * configure.in: post-release version bump to 2.13.144 diff --git a/src/prefs.c b/src/prefs.c index ab132f203..091ad2635 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -334,6 +334,8 @@ meta_prefs_init (void) char *str_val; int int_val; gboolean bool_val, bool_val_2; + gboolean update_visual; + gboolean update_audible; if (default_client != NULL) return; @@ -437,8 +439,8 @@ meta_prefs_init (void) bool_val = provide_visual_bell; bool_val_2 = bell_is_audible; - gboolean update_visual = get_bool (KEY_VISUAL_BELL, &bool_val); - gboolean update_audible = get_bool (KEY_AUDIBLE_BELL, &bool_val_2); + update_visual = get_bool (KEY_VISUAL_BELL, &bool_val); + update_audible = get_bool (KEY_AUDIBLE_BELL, &bool_val_2); if (update_visual || update_audible) update_visual_bell (bool_val, bool_val_2);