From 7719719afd8ed05b0b82216d2822489fea6cee9f Mon Sep 17 00:00:00 2001 From: tasn Date: Sun, 13 Feb 2011 08:22:06 +0000 Subject: [PATCH] Elementary: define the gettext macro in a place that's visible to all widgets. Patch by Govindaraju SM git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@56980 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_config.c | 1 - src/lib/elm_priv.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c index f47030b..58346f5 100644 --- a/src/lib/elm_config.c +++ b/src/lib/elm_config.c @@ -9,7 +9,6 @@ #include #include "elm_priv.h" -#define _(string) gettext(string) Elm_Config *_elm_config = NULL; char *_elm_profile = NULL; diff --git a/src/lib/elm_priv.h b/src/lib/elm_priv.h index 06d09bf..b808f86 100644 --- a/src/lib/elm_priv.h +++ b/src/lib/elm_priv.h @@ -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; -- 2.7.4