Elementary: define the gettext macro in a place that's visible to all widgets.
authorTom Hacohen <tom@stosb.com>
Sun, 13 Feb 2011 08:22:06 +0000 (08:22 +0000)
committerTom Hacohen <tom@stosb.com>
Sun, 13 Feb 2011 08:22:06 +0000 (08:22 +0000)
Patch by Govindaraju SM

SVN revision: 56980

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

index f47030b22cd7e1c255c222355ae0cd23f9373b16..58346f5e437c595bd4520a1399c3a2161d69d6e7 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 06d09bf0591206593b184cd96001ac819e840394..b808f86dd3e9975be5f5b6a80a74530043d5a8c4 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;