From: tasn Date: Sun, 13 Feb 2011 08:22:06 +0000 (+0000) Subject: Elementary: define the gettext macro in a place that's visible to all widgets. X-Git-Tag: REL_F_I9500_20120323_1~17^2~3172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7719719afd8ed05b0b82216d2822489fea6cee9f;p=framework%2Fuifw%2Felementary.git 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 --- 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;