1 /* EasyTAG - Tag editor for audio files
2  * Copyright (C) 2014  David King <amigadave@amigadave.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along with
15  * this program; if not, write to the Free Software Foundation, Inc., 51
16  * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  */
18 
19 #include "config.h"
20 
21 #include <glib/gi18n.h>
22 
23 #include "application.h"
24 
25 int
main(int argc,char * argv[])26 main (int argc, char *argv[])
27 {
28     EtApplication *application;
29     gint status;
30 
31 #if ENABLE_NLS
32     textdomain (GETTEXT_PACKAGE);
33     bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
34     bind_textdomain_codeset (PACKAGE_TARNAME, "UTF-8");
35 #endif /* ENABLE_NLS */
36 
37     application = et_application_new ();
38     status = g_application_run (G_APPLICATION (application), argc, argv);
39     g_object_unref (application);
40 
41     return status;
42 }
43