diff --git a/ChangeLog b/ChangeLog index e64eb2e88c..d524cd597f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-04-03 Matthias Clasen + * gtk/gtkmain.c: Make gtk_args const. + * gtk/gtkicontheme.c (pixbuf_supports_svg): Save one static. * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e64eb2e88c..d524cd597f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,7 @@ 2006-04-03 Matthias Clasen + * gtk/gtkmain.c: Make gtk_args const. + * gtk/gtkicontheme.c (pixbuf_supports_svg): Save one static. * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark): diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index c97b68b740..ab4684db6c 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -399,7 +399,7 @@ gtk_arg_module_cb (const char *key, const char *value, gpointer user_data) return TRUE; } -static GOptionEntry gtk_args[] = { +static const GOptionEntry gtk_args[] = { { "gtk-module", 0, 0, G_OPTION_ARG_CALLBACK, gtk_arg_module_cb, /* Description of --gtk-module=MODULES in --help output */ N_("Load additional GTK+ modules"), /* Placeholder in --gtk-module=MODULES in --help output */ N_("MODULES") },