From 7a68a533220d9ed3825a522461393912f5aafb71 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Tue, 22 Aug 2006 17:29:36 +0000 Subject: [PATCH] Patch from Jens Granseuer to fix the build with c89/gcc 2.95. 2006-08-22 Elijah Newren * src/metacity-dialog.c (main): Patch from Jens Granseuer to fix the build with c89/gcc 2.95. --- ChangeLog | 5 +++++ src/metacity-dialog.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e2ac1c9bf..2c22df7cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-22 Elijah Newren + + * src/metacity-dialog.c (main): Patch from Jens Granseuer to fix + the build with c89/gcc 2.95. + 2006-08-21 Elijah Newren * NEWS: Oops, forgot to mention the translators in the 2.15.34 diff --git a/src/metacity-dialog.c b/src/metacity-dialog.c index 54166b94a..08cb65cba 100644 --- a/src/metacity-dialog.c +++ b/src/metacity-dialog.c @@ -372,6 +372,7 @@ static const GOptionEntry options[] = { int main (int argc, char **argv) { + GOptionContext *ctx; Time timestamp = 0; gint num_args = 0; @@ -381,7 +382,6 @@ main (int argc, char **argv) gtk_init (&argc, &argv); - GOptionContext *ctx; ctx = g_option_context_new ("- Dialogs for metacity. " "This program is intented for use by metacity only."); g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);