]> git.draconx.ca Git - gob-dx.git/blob - examples/my-glade-main.c
Replace gnulib patch with new common helper macro.
[gob-dx.git] / examples / my-glade-main.c
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3  * main.c
4  * Copyright (C) gandalfn 2005 <gandalfn@club-internet.fr>
5  * 
6  * main.c is free software.
7  * 
8  * You may redistribute it and/or modify it under the terms of the
9  * GNU General Public License, as published by the Free Software
10  * Foundation; either version 2, or (at your option) any later version.
11  * 
12  * main.c is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  * See the GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License
18  * along with main.c.  See the file "COPYING".  If not,
19  * write to:  The Free Software Foundation, Inc.,
20  *            59 Temple Place - Suite 330,
21  *            Boston,  MA  02111-1307, USA.
22  */
23
24 #include <sys/types.h>
25 #include <sys/stat.h>
26 #include <unistd.h>
27 #include <string.h>
28 #include <stdio.h>
29
30 #include <config.h>
31
32 #include <gtk/gtk.h>
33 #include "my-glade.h"
34
35
36 int
37 main (int argc, char *argv[])
38 {
39         GtkWidget *window1;
40
41
42         
43         gtk_set_locale ();
44         gtk_init (&argc, &argv);
45
46         window1 = my_glade_new();
47         gtk_widget_show (window1);
48
49         gtk_main ();
50         return 0;
51 }