Automatically init/exit libmdb code

mdb_init() and mdb_exit() are now deprecated.
This commit is contained in:
Nirgal Vourgère
2012-07-22 02:29:04 +02:00
parent f8a3839c7f
commit f6cd70494c
26 changed files with 34 additions and 122 deletions

View File

@@ -158,8 +158,6 @@ GtkWidget *gmdb;
/* initialize the SQL engine */
sql = mdb_sql_init();
#endif
/* initialize MDB Tools library */
mdb_init();
/* Initialize GNOME */
/* Initialize gnome program */
@@ -196,7 +194,6 @@ GtkWidget *gmdb;
/* free MDB Tools library */
mdb_sql_exit(sql);
#endif
mdb_exit();
return 0;
}