summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2006-08-22 17:29:36 +0000
committerElijah Newren <newren@src.gnome.org>2006-08-22 17:29:36 +0000
commit7a68a533220d9ed3825a522461393912f5aafb71 (patch)
tree6304574bb58e219a47b8078304d7d601e4adeddd
parentc7c4efa1c13755bf5503ea9045237f96a1f1e1b9 (diff)
downloadmutter-7a68a533220d9ed3825a522461393912f5aafb71.tar.gz
Patch from Jens Granseuer to fix the build with c89/gcc 2.95.
2006-08-22 Elijah Newren <newren gmail com> * src/metacity-dialog.c (main): Patch from Jens Granseuer to fix the build with c89/gcc 2.95.
-rw-r--r--ChangeLog5
-rw-r--r--src/metacity-dialog.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e2ac1c9bf..2c22df7cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-22 Elijah Newren <newren gmail com>
+
+ * src/metacity-dialog.c (main): Patch from Jens Granseuer to fix
+ the build with c89/gcc 2.95.
+
2006-08-21 Elijah Newren <newren gmail com>
* 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);