Elementary: define the gettext macro in a place that's visible to all widgets.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 13 Feb 2011 08:22:06 +0000 (08:22 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 13 Feb 2011 08:22:06 +0000 (08:22 +0000)
Patch by Govindaraju SM

git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@56980 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_config.c
src/lib/elm_priv.h

index f47030b..58346f5 100644 (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;
index 06d09bf..b808f86 100644 (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;