main.c 460 Bytes
Newer Older
1
#include <config.h>
Arturo Espinosa's avatar
Arturo Espinosa committed
2
3
#include <gnome.h>
#include "gnumeric.h"
4
#include "xml-io.h"
Arturo Espinosa's avatar
Arturo Espinosa committed
5
6
7
8

int
main (int argc, char *argv [])
{
9
10
11
	bindtextdomain (PACKAGE, GNOMELOCALEDIR);
	textdomain (PACKAGE);
	
Arturo Espinosa's avatar
Arturo Espinosa committed
12
	gnome_init ("Gnumeric", NULL, argc, argv, 0, NULL);
13

14
	string_init ();
15
	style_init ();
16
	symbol_init ();
Arturo Espinosa's avatar
Arturo Espinosa committed
17
	constants_init ();
Arturo Espinosa's avatar
Arturo Espinosa committed
18
19
	functions_init ();
	
20
	current_workbook = workbook_new_with_sheets (1);
21
	gtk_widget_show (current_workbook->toplevel);
Arturo Espinosa's avatar
Arturo Espinosa committed
22
23
24
25
26

	gtk_main ();

	return 0;
}
27