diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-08-30 22:24:41 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-08-30 22:24:41 +0000 |
commit | c1d4cc4739583f906b639daf3bd9384dd791530e (patch) | |
tree | 27f471459ec61067210883ff21396d0bc14a7fdc /main.c | |
parent | cb4cd60cbce11439b0e0529df20e671e5b49b6f1 (diff) |
Development checkin
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 28 |
1 files changed, 21 insertions, 7 deletions
@@ -33,17 +33,31 @@ static const char ident[]="$Id$"; #include "interface.h" #include "support.h" +#include "gtkutil.h" +#include "gemma.h" + int main (int argc, char *argv[]) { - GtkWidget *top_window; + GtkWidget *top_window; + + gtk_set_locale (); + gtk_init (&argc, &argv); + + top_window = create_top_window (); + gtk_widget_show (top_window); - gtk_set_locale (); - gtk_init (&argc, &argv); + DialogParent(top_window); + GEMMA_Init(top_window); + GEMMA_UpdateDisplay(UPDATE_ALL_VIEWS); - top_window = create_top_window (); - gtk_widget_show (top_window); + AppendText(lookup_widget(top_window,"log_view"), + "GEMMA, Copyright (C) 2006 Ian Cowburn\n" + "GEMMA comes with ABSOLUTELY NO WARRANTY\n" + "This is free software, and you are welcome\n" + "to redistribute it under certain conditions;\n" + "See the GNU General Public License for details.\n"); - gtk_main (); - return 0; + gtk_main (); + return 0; } |