summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-11-20 13:58:35 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-11-20 13:58:35 +0000
commitde1ffcd84f8ae4777f6be521243cc854488ee307 (patch)
treedd3bdc25a2528ba82115c3c1a8b4a9391ed69c04
parented11750185d7113c58e4723f9ae9ef642b2cdf5e (diff)
elementary: fix build of elementary without internationalization.
SVN revision: 65435
-rw-r--r--src/lib/elm_priv.h3
-rw-r--r--src/lib/elm_widget.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elm_priv.h b/src/lib/elm_priv.h
index efcc3179d..43722670e 100644
--- a/src/lib/elm_priv.h
+++ b/src/lib/elm_priv.h
@@ -266,6 +266,7 @@ extern int _elm_log_dom;
266extern Eina_List *_elm_win_list; 266extern Eina_List *_elm_win_list;
267extern int _elm_win_deferred_free; 267extern int _elm_win_deferred_free;
268 268
269#ifdef ENABLE_NLS
269/* Our gettext wrapper, used to disable translation of elm if the app 270/* Our gettext wrapper, used to disable translation of elm if the app
270 * is not translated. */ 271 * is not translated. */
271static inline const char * 272static inline const char *
@@ -278,7 +279,7 @@ _elm_dgettext(const char *string)
278 279
279 return dgettext(PACKAGE, string); 280 return dgettext(PACKAGE, string);
280} 281}
281 282#endif
282 283
283/* Used by the paste handler */ 284/* Used by the paste handler */
284void _elm_entry_entry_paste(Evas_Object *obj, const char *entry); 285void _elm_entry_entry_paste(Evas_Object *obj, const char *entry);
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index ad37dfc42..537bc699c 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -2389,7 +2389,9 @@ elm_widget_translate(Evas_Object *obj)
2389{ 2389{
2390 const Eina_List *l; 2390 const Eina_List *l;
2391 Evas_Object *child; 2391 Evas_Object *child;
2392#ifdef HAVE_GETTEXT
2392 Elm_Translate_String_Data *ts; 2393 Elm_Translate_String_Data *ts;
2394#endif
2393 2395
2394 API_ENTRY return; 2396 API_ENTRY return;
2395 EINA_LIST_FOREACH(sd->subobjs, l, child) elm_widget_translate(child); 2397 EINA_LIST_FOREACH(sd->subobjs, l, child) elm_widget_translate(child);