]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
AppData: Simplify code.
authorBruno Haible <bruno@clisp.org>
Mon, 28 Aug 2017 23:25:07 +0000 (01:25 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 28 Aug 2017 23:25:07 +0000 (01:25 +0200)
* gettext-tools/src/x-appdata.h (EXTENSIONS_APPDATA): Define to empty, as the
supported extensions are now defined in the *.loc files.

gettext-tools/src/x-appdata.h

index 42a51b9dce7f4ac332a4ec856abc11500a4be5da..a2e3ad446b986b46ee6cf1c07a01f6c544ff6a33 100644 (file)
@@ -1,5 +1,5 @@
 /* xgettext AppData file backend.
-   Copyright (C) 2002-2003, 2006, 2013, 2015-2016 Free Software Foundation,
+   Copyright (C) 2002-2003, 2006, 2013, 2015-2017 Free Software Foundation,
    Inc.
    Written by Philip Withnall <philip.withnall@collabora.co.uk>, 2015.
 
@@ -30,11 +30,10 @@ extern "C" {
 
 /* The scanner is implemented as ITS rules, in its/appdata.its.  */
 
-#define EXTENSIONS_APPDATA \
-  { "appdata.xml", NULL }, \
+#define EXTENSIONS_APPDATA
 
 #define SCANNERS_APPDATA \
-  { "appdata", NULL, NULL, NULL, NULL, NULL }, \
+  { "appdata", NULL, NULL, NULL, NULL, NULL },
 
 
 #ifdef __cplusplus