Make gtk_args const

This commit is contained in:
Matthias Clasen 2006-04-04 03:52:36 +00:00
parent c7f1892ef8
commit 8862bf9233
3 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c: Make gtk_args const.
* gtk/gtkicontheme.c (pixbuf_supports_svg): Save one static.
* gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):

View File

@ -1,5 +1,7 @@
2006-04-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c: Make gtk_args const.
* gtk/gtkicontheme.c (pixbuf_supports_svg): Save one static.
* gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):

View File

@ -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") },