gnome-games r8471 - trunk/libgames-support
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8471 - trunk/libgames-support
- Date: Tue, 6 Jan 2009 18:19:42 +0000 (UTC)
Author: chpe
Date: Tue Jan 6 18:19:42 2009
New Revision: 8471
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8471&view=rev
Log:
Move gettext stuff down, so it's actually after the init stuff that it
needs.
Modified:
trunk/libgames-support/games-runtime.c
Modified: trunk/libgames-support/games-runtime.c
==============================================================================
--- trunk/libgames-support/games-runtime.c (original)
+++ trunk/libgames-support/games-runtime.c Tue Jan 6 18:19:42 2009
@@ -85,10 +85,6 @@
{
setlocale (LC_ALL, "");
- bindtextdomain (GETTEXT_PACKAGE, games_runtime_get_directory (GAMES_RUNTIME_LOCALE_DIRECTORY));
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- textdomain(GETTEXT_PACKAGE);
-
#if defined(HAVE_GNOME) || defined(HAVE_RSVG_GNOMEVFS) || defined(HAVE_GSTREAMER)
/* If we're going to use gconf, gnome-vfs, or gstreamer, we need to
* init threads before calling any glib functions.
@@ -101,6 +97,10 @@
app_name = g_strdup (name);
+ bindtextdomain (GETTEXT_PACKAGE, games_runtime_get_directory (GAMES_RUNTIME_LOCALE_DIRECTORY));
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ textdomain(GETTEXT_PACKAGE);
+
#ifdef G_OS_WIN32
{
const char *path;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]