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.
This commit is contained in:
Elijah Newren 2006-08-22 17:29:36 +00:00 committed by Elijah Newren
parent c7c4efa1c1
commit 7a68a53322
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2006-08-21 Elijah Newren <newren gmail com>
* NEWS: Oops, forgot to mention the translators in the 2.15.34 * NEWS: Oops, forgot to mention the translators in the 2.15.34

View File

@ -372,6 +372,7 @@ static const GOptionEntry options[] = {
int int
main (int argc, char **argv) main (int argc, char **argv)
{ {
GOptionContext *ctx;
Time timestamp = 0; Time timestamp = 0;
gint num_args = 0; gint num_args = 0;
@ -381,7 +382,6 @@ main (int argc, char **argv)
gtk_init (&argc, &argv); gtk_init (&argc, &argv);
GOptionContext *ctx;
ctx = g_option_context_new ("- Dialogs for metacity. " ctx = g_option_context_new ("- Dialogs for metacity. "
"This program is intented for use by metacity only."); "This program is intented for use by metacity only.");
g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE); g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);