Commit a4dd7815 authored by Giovanni Campagna's avatar Giovanni Campagna Committed by Bastien Nocera
Browse files

libgnome-desktop: initialize gettext before constructing a wall clock

GnomeWallClock uses gettext, so we must initialize it to point to
the right path.

https://bugzilla.gnome.org/show_bug.cgi?id=699325
parent d41c9a1d
......@@ -178,6 +178,9 @@ gnome_wall_clock_class_init (GnomeWallClockClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
gobject_class->get_property = gnome_wall_clock_get_property;
gobject_class->set_property = gnome_wall_clock_set_property;
gobject_class->dispose = gnome_wall_clock_dispose;
......
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