Commit 8862bf92 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Make gtk_args const

parent c7f1892e
2006-04-03 Matthias Clasen <mclasen@redhat.com> 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/gtkicontheme.c (pixbuf_supports_svg): Save one static.
* gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark): * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):
......
2006-04-03 Matthias Clasen <mclasen@redhat.com> 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/gtkicontheme.c (pixbuf_supports_svg): Save one static.
* gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark): * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):
......
...@@ -399,7 +399,7 @@ gtk_arg_module_cb (const char *key, const char *value, gpointer user_data) ...@@ -399,7 +399,7 @@ gtk_arg_module_cb (const char *key, const char *value, gpointer user_data)
return TRUE; return TRUE;
} }
static GOptionEntry gtk_args[] = { static const GOptionEntry gtk_args[] = {
{ "gtk-module", 0, 0, G_OPTION_ARG_CALLBACK, gtk_arg_module_cb, { "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"), /* Description of --gtk-module=MODULES in --help output */ N_("Load additional GTK+ modules"),
/* Placeholder in --gtk-module=MODULES in --help output */ N_("MODULES") }, /* Placeholder in --gtk-module=MODULES in --help output */ N_("MODULES") },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment