Elementary: define the gettext macro in a place that's visible to all widgets.

Patch by Govindaraju SM

SVN revision: 56980
This commit is contained in:
Tom Hacohen 2011-02-13 08:22:06 +00:00
parent 01999d43f6
commit 5028537bc3
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,6 @@
#include <Elementary.h>
#include "elm_priv.h"
#define _(string) gettext(string)
Elm_Config *_elm_config = NULL;
char *_elm_profile = NULL;

View File

@ -26,6 +26,8 @@
#define INF(...) EINA_LOG_DOM_INFO(_elm_log_dom, __VA_ARGS__)
#define DBG(...) EINA_LOG_DOM_DBG (_elm_log_dom, __VA_ARGS__)
#define _(string) gettext(string)
typedef struct _Elm_Config Elm_Config;
typedef struct _Elm_Module Elm_Module;