/* * Initial main.c file generated by Glade. Edit as required. * Glade will not overwrite this file. */ #ifdef HAVE_CONFIG_H # include #endif #include #include "interface.h" #include "support.h" #include "globals.h" #include "tocdata.h" int main (int argc, char *argv[]) { GtkWidget *GdrDAO; #ifdef ENABLE_NLS bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR); textdomain (PACKAGE); #endif gnome_init ("gdrdao", VERSION, argc, argv); tocdata=(struct gdrdao_toceditor*)g_malloc(sizeof(struct gdrdao_toceditor)); gdrdao_tocedit_init(tocdata); gdrdao_tocedit_clear(tocdata); savestuff=(struct gdrdao_savestuff___*)g_malloc(sizeof(struct gdrdao_savestuff___)); gdrdao_savestuff_init(savestuff); GdrDAO = create_GdrDAO (); gdrdao_mainwindow=GdrDAO; gtk_widget_show (GdrDAO); gtk_main (); return 0; }