From: Enlightenment S. <no-...@en...> - 2011-02-13 08:22:13
|
Log: Elementary: define the gettext macro in a place that's visible to all widgets. Patch by Govindaraju SM Author: tasn Date: 2011-02-13 00:22:06 -0800 (Sun, 13 Feb 2011) New Revision: 56980 Trac: http://trac.enlightenment.org/e/changeset/56980 Modified: trunk/elementary/src/lib/elm_config.c trunk/elementary/src/lib/elm_priv.h Modified: trunk/elementary/src/lib/elm_config.c =================================================================== --- trunk/elementary/src/lib/elm_config.c 2011-02-13 07:36:20 UTC (rev 56979) +++ trunk/elementary/src/lib/elm_config.c 2011-02-13 08:22:06 UTC (rev 56980) @@ -9,7 +9,6 @@ #include <Elementary.h> #include "elm_priv.h" -#define _(string) gettext(string) Elm_Config *_elm_config = NULL; char *_elm_profile = NULL; Modified: trunk/elementary/src/lib/elm_priv.h =================================================================== --- trunk/elementary/src/lib/elm_priv.h 2011-02-13 07:36:20 UTC (rev 56979) +++ trunk/elementary/src/lib/elm_priv.h 2011-02-13 08:22:06 UTC (rev 56980) @@ -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; |