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_I9200_20110722_1~8^2~50^2~764 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2dbe85b9184bc5909da870ac45e70c80db7f2c8;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: https://svn.enlightenment.org/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;