Make sure gettext is initialized before using it. (#335129, Christian

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_get_option_group): Make sure gettext
	is initialized before using it.  (#335129, Christian Persch)
This commit is contained in:
Matthias Clasen 2006-03-20 05:38:37 +00:00 committed by Matthias Clasen
parent 4d112a0ac3
commit 6aee75af24
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-03-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_get_option_group): Make sure gettext
is initialized before using it. (#335129, Christian Persch)
2006-03-19 Matthias Clasen <mclasen@redhat.com>
* MAINTAINERS: Add this, at the request of the GNOME sysadmin team.

View File

@ -1,3 +1,8 @@
2006-03-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_get_option_group): Make sure gettext
is initialized before using it. (#335129, Christian Persch)
2006-03-19 Matthias Clasen <mclasen@redhat.com>
* MAINTAINERS: Add this, at the request of the GNOME sysadmin team.

View File

@ -588,6 +588,8 @@ gtk_get_option_group (gboolean open_default_display)
GOptionGroup *group;
OptionGroupInfo *info;
gettext_initialization ();
info = g_new0 (OptionGroupInfo, 1);
info->open_default_display = open_default_display;