diff options
author | Elijah Newren <newren gmail com> | 2006-02-14 17:26:40 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2006-02-14 17:26:40 +0000 |
commit | c3487944318c546c644eddb1b20e8254ebc1617e (patch) | |
tree | 7ae07c3b6e0c9a6b20b5fdbe4be431eb069ea0a6 | |
parent | 0610f92f0ffb7437410dd9554618472f8eb025e1 (diff) | |
download | metacity-c3487944318c546c644eddb1b20e8254ebc1617e.tar.gz |
Patch from Jens Granseuer to fix more build issues with gcc 2.95. #331166.
2006-02-14 Elijah Newren <newren gmail com>
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
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/prefs.c | 6 |
2 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2006-02-14 Elijah Newren <newren gmail com> + + 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 <newren gmail com> * configure.in: post-release version bump to 2.13.144 diff --git a/src/prefs.c b/src/prefs.c index ab132f20..091ad263 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); |