Debian Codegraph @

src/gimp2/print-intl.h

raw symbols SCIP
1 /*
2 *
3 * I18N header file for the GIMP2 Print plugin.
4 *
5 * Copyright 1997-2000 Michael Sweet ([email protected]),
6 * Robert Krawitz ([email protected]) and Michael Natterer ([email protected])
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the Free
10 * Software Foundation; either version 2 of the License, or (at your option)
11 * any later version.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 * for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 */
21 #ifndef GIMP2_PRINT_INTL_H
22 #define GIMP2_PRINT_INTL_H
23
24 #include <glib.h>
25 #include <gutenprint/gutenprint-intl.h>
26
27 #define INIT_LOCALE(domain) \
28 do \
29 { \
30 gtk_set_locale (); \
31 setlocale (LC_NUMERIC, "C"); \
32 bindtextdomain (domain, PACKAGE_LOCALE_DIR); \
33 textdomain (domain); \
34 } while (0)
35
36 #endif /* GIMP2_PRINT_INTL_H */