1
0
Fork 0

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
This commit is contained in:
Elijah Newren 2006-02-14 17:26:40 +00:00 committed by Elijah Newren
parent 0610f92f0f
commit c348794431
2 changed files with 12 additions and 2 deletions

View file

@ -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

View file

@ -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);