1 /* -*- Mode: C; indent-tabs-mode: nil; tab-width: 2 -*-
3 * Copyright (C) 2009 Canonical Ltd.
5 * Gustavo Sverzut Barbieri <gustavo.barbieri@canonical.com>
7 * This file is part of Netbook Launcher EFL.
9 * Netbook Launcher EFL is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, version 3 of the License.
13 * Netbook Launcher EFL is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with Netbook Launcher EFL. If not, see <http://www.gnu.org/licenses/>.
27 #include <libgnomeui/libgnomeui.h>
28 #include <libgnome/libgnome.h>
31 main(int argc
, char *argv
[])
36 setlocale(LC_ALL
, "");
37 bindtextdomain(GETTEXT_PACKAGE
, LOCALEDIR
);
38 bind_textdomain_codeset(GETTEXT_PACKAGE
, "UTF-8");
39 textdomain(GETTEXT_PACKAGE
);
41 gnome_program_init("netbook-launcher-efl_quit", "0.1",
42 LIBGNOMEUI_MODULE
, argc
, argv
,
43 GNOME_PARAM_NONE
, NULL
);
45 window
= nl_quit_new();
46 result
= gtk_dialog_run (GTK_DIALOG (window
));
47 while (gtk_events_pending())
48 gtk_main_iteration_do(TRUE
);
49 g_debug ("reply: %d", result
);