Fixed typo in Czech translation
[yelp.git] / src / yelp.c
blob9045c35b92a9f9c9d0632cecb5f59346c7c946fe
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * Copyright (C) 2010 Shaun McCance <shaunm@gnome.org>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, see <http://www.gnu.org/licenses/>.
18 * Author: Shaun McCance <shaunm@gnome.org>
21 #ifdef HAVE_CONFIG_H
22 #include <config.h>
23 #endif
25 #include <locale.h>
27 #include <glib.h>
28 #include <glib/gi18n.h>
29 #include <gtk/gtk.h>
31 #include "yelp-application.h"
33 int
34 main (int argc, char **argv)
36 YelpApplication *app;
38 setlocale (LC_ALL, "");
39 textdomain (GETTEXT_PACKAGE);
40 bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
41 bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
43 app = yelp_application_new ();
45 return g_application_run (G_APPLICATION (app), argc, argv);