2
* Authors: Rodney Dawes <dobey@gnome.org>
4
* Copyright 2008-2009 Rodney Dawes
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of version 2 of the GNU General Public License
8
* as published by the Free Software Foundation
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
13
* GNU General Public License for more details.
17
void stopwatch_main_quit (GtkWidget * widget, StopwatchWindow * window) {
21
static gint stopwatch_main_idle_callback (void * data) {
24
window = stopwatch_window_new ();
25
gtk_widget_show (window);
30
gint main (gint argc, gchar * argv[]) {
33
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
34
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
35
textdomain (GETTEXT_PACKAGE);
38
gtk_init (&argc, &argv);
40
g_idle_add (stopwatch_main_idle_callback, NULL);