X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/4f0369e24277442e70d0edaab02b022bc7a2b6f5..a8ea1a669f332b0ed29c6271896476f59f357533:/examples/my-glade-main.c?ds=sidebyside diff --git a/examples/my-glade-main.c b/examples/my-glade-main.c new file mode 100644 index 0000000..8e71f05 --- /dev/null +++ b/examples/my-glade-main.c @@ -0,0 +1,51 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ +/* + * main.c + * Copyright (C) gandalfn 2005 + * + * main.c is free software. + * + * You may redistribute it and/or modify it under the terms of the + * GNU General Public License, as published by the Free Software + * Foundation; either version 2, or (at your option) any later version. + * + * main.c is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with main.c. See the file "COPYING". If not, + * write to: The Free Software Foundation, Inc., + * 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#include +#include +#include +#include +#include + +#include + +#include +#include "my-glade.h" + + +int +main (int argc, char *argv[]) +{ + GtkWidget *window1; + + + + gtk_set_locale (); + gtk_init (&argc, &argv); + + window1 = my_glade_new(); + gtk_widget_show (window1); + + gtk_main (); + return 0; +}