diff --git a/ChangeLog b/ChangeLog index 70408cc83..1a9aec838 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-10-21 Emmanuele Bassi + + Bug 1197 - Missing const for clutter_init_with_args * + + * clutter/clutter-main.[ch] (clutter_init_with_args): Constify + the string parameters. (Owen Taylor) + 2008-10-20 Emmanuele Bassi * configure.ac: Use gmodule-no-export-2.0, not gmodule-2.0, diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c index ffd1cb01c..ef0187ede 100644 --- a/clutter/clutter-main.c +++ b/clutter/clutter-main.c @@ -1371,9 +1371,9 @@ clutter_get_option_group_without_init (void) ClutterInitError clutter_init_with_args (int *argc, char ***argv, - char *parameter_string, + const char *parameter_string, GOptionEntry *entries, - char *translation_domain, + const char *translation_domain, GError **error) { GOptionContext *context; diff --git a/clutter/clutter-main.h b/clutter/clutter-main.h index 81a4f8c12..eeef5a273 100644 --- a/clutter/clutter-main.h +++ b/clutter/clutter-main.h @@ -84,9 +84,9 @@ ClutterInitError clutter_init (int *argc, char ***argv); ClutterInitError clutter_init_with_args (int *argc, char ***argv, - char *parameter_string, + const char *parameter_string, GOptionEntry *entries, - char *translation_domain, + const char *translation_domain, GError **error); GOptionGroup * clutter_get_option_group (void); GOptionGroup * clutter_get_option_group_without_init (void);