summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--libxfce4util/xfce-i18n.h30
2 files changed, 2 insertions, 31 deletions
diff --git a/.gitignore b/.gitignore
index cf9e810..a501f69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,4 +50,5 @@ libxfce4util/test-suite.log
xfce4-kiosk-query/xfce4-kiosk-query
xfce4-kiosk-query/xfce4_kiosk_query-main.o
-python-example/html/
+/nbproject
+/python-example/html/
diff --git a/libxfce4util/xfce-i18n.h b/libxfce4util/xfce-i18n.h
index 681c004..4f9cdc2 100644
--- a/libxfce4util/xfce-i18n.h
+++ b/libxfce4util/xfce-i18n.h
@@ -37,36 +37,6 @@
G_BEGIN_DECLS
-#if !defined(GETTEXT_PACKAGE)
-
-#ifdef gettext
-#undef gettext
-#endif
-#ifdef dgettext
-#undef dgettext
-#endif
-#ifdef dcgettext
-#undef dcgettext
-#endif
-#ifdef ngettext
-#undef ngettext
-#endif
-#ifdef dngettext
-#undef dngettext
-#endif
-#ifdef dcngettext
-#undef dcngettext
-#endif
-
-#define gettext(s) (s)
-#define dgettext(domain,s) (s)
-#define dcgettext(domain,s,type) (s)
-#define ngettext(msgid, msgid_plural, n) (((n) > 0) ? (msgid) : (msgid_plural))
-#define dngettext(domainname, msgid, msgid_plural, n) (((n) > 0) ? (msgid) : (msgid_plural))
-#define dcngettext(domainname, msgid, msgid_plural, n, type) (((n) > 0) ? (msgid) : (msgid_plural))
-
-#endif /* !defined(GETTEXT_PACKAGE) */
-
void xfce_textdomain (const gchar *package,
const gchar *localedir,
const gchar *encoding);