|
Packit |
116408 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
|
|
Packit |
116408 |
/*
|
|
Packit |
116408 |
* Copyright (C) 2001-2003 CodeFactory AB
|
|
Packit |
116408 |
* Copyright (C) 2001-2008 Imendio AB
|
|
Packit |
116408 |
*
|
|
Packit |
116408 |
* This program is free software; you can redistribute it and/or
|
|
Packit |
116408 |
* modify it under the terms of the GNU General Public License as
|
|
Packit |
116408 |
* published by the Free Software Foundation; either version 2 of the
|
|
Packit |
116408 |
* License, or (at your option) any later version.
|
|
Packit |
116408 |
*
|
|
Packit |
116408 |
* This program is distributed in the hope that it will be useful,
|
|
Packit |
116408 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
116408 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
116408 |
* General Public License for more details.
|
|
Packit |
116408 |
*
|
|
Packit |
116408 |
* You should have received a copy of the GNU General Public License
|
|
Packit |
116408 |
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
116408 |
*/
|
|
Packit |
116408 |
|
|
Packit |
116408 |
#include "config.h"
|
|
Packit |
116408 |
|
|
Packit |
116408 |
#include <locale.h>
|
|
Packit |
116408 |
#include <glib/gi18n.h>
|
|
Packit |
116408 |
#include <gtk/gtk.h>
|
|
Packit |
116408 |
|
|
Packit |
116408 |
#include "devhelp.h"
|
|
Packit |
116408 |
#include "dh-app.h"
|
|
Packit |
116408 |
|
|
Packit |
116408 |
int
|
|
Packit |
116408 |
main (int argc, char **argv)
|
|
Packit |
116408 |
{
|
|
Packit |
116408 |
DhApp *application;
|
|
Packit |
116408 |
gint status;
|
|
Packit |
116408 |
|
|
Packit |
116408 |
setlocale (LC_ALL, "");
|
|
Packit |
116408 |
textdomain (GETTEXT_PACKAGE);
|
|
Packit |
116408 |
|
|
Packit |
116408 |
dh_init ();
|
|
Packit |
116408 |
|
|
Packit |
116408 |
application = dh_app_new ();
|
|
Packit |
116408 |
status = g_application_run (G_APPLICATION (application), argc, argv);
|
|
Packit |
116408 |
g_object_unref (application);
|
|
Packit |
116408 |
|
|
Packit |
116408 |
dh_finalize ();
|
|
Packit |
116408 |
|
|
Packit |
116408 |
return status;
|
|
Packit |
116408 |
}
|