NULL-terminate the options array. fixed.

2007-06-08  Christian Persch  <chpe@gnome.org>

	* main.c: (main): NULL-terminate the options array.
	* ChangeLog: fixed.

svn path=/trunk/; revision=7705
This commit is contained in:
Christian Persch 2007-06-08 11:56:47 +00:00 committed by Christian Persch
parent 8ccc187c76
commit 1eb8cc98ae
3 changed files with 11 additions and 5 deletions

View file

@ -61,6 +61,7 @@ main (int argc, char *argv[])
N_("Enable debugging code"), NULL },
{ "no-check", 'n', 0, G_OPTION_ARG_NONE, &no_check,
N_("Don't check whether the notification area exists"), NULL },
{ NULL }
};
GOptionContext *option_context;
GError *error = NULL;