summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-08-30 22:24:41 +0000
committerIan C <ianc@noddybox.co.uk>2006-08-30 22:24:41 +0000
commitc1d4cc4739583f906b639daf3bd9384dd791530e (patch)
tree27f471459ec61067210883ff21396d0bc14a7fdc /main.c
parentcb4cd60cbce11439b0e0529df20e671e5b49b6f1 (diff)
Development checkin
Diffstat (limited to 'main.c')
-rw-r--r--main.c28
1 files changed, 21 insertions, 7 deletions
diff --git a/main.c b/main.c
index f4f66a4..f39e133 100644
--- a/main.c
+++ b/main.c
@@ -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;
}