aboutsummaryrefslogtreecommitdiffhomepage
path: root/mimedb.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-28 20:58:06 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-28 20:58:06 +1000
commit23152ae8a61ae9fd2829e886c07e52dc83ff3830 (patch)
tree8b1b8f7564d386eccd65a9dfc21acc6c06cfb046 /mimedb.c
parent7310596dabe7eb81c9e55c64524537a03dcfad6f (diff)
Remove checks for gettext presense in mimedb.c and set_color.c. If gettext is unavailable, a fallback is provided.
darcs-hash:20060828105806-ac50b-47f092813ed70a03477d66c377edbe24f2aedf40.gz
Diffstat (limited to 'mimedb.c')
-rw-r--r--mimedb.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mimedb.c b/mimedb.c
index 251ecfc0..09ee17c7 100644
--- a/mimedb.c
+++ b/mimedb.c
@@ -135,14 +135,10 @@ static int launch_len=0;
*/
static int launch_pos=0;
-#if HAVE_GETTEXT
/**
gettext alias
*/
#define _(string) gettext(string)
-#else
-#define _(string) (string)
-#endif
/**
Dynamically generated function, made from the documentation in doc_src.
@@ -1145,10 +1141,8 @@ static void clear_entry( void *key, void *val )
static void locale_init()
{
setlocale( LC_ALL, "" );
-#if HAVE_GETTEXT
bindtextdomain( PACKAGE_NAME, LOCALEDIR );
textdomain( PACKAGE_NAME );
-#endif
}