add gui_free

This commit is contained in:
Tomasz Moń
2009-03-09 18:49:29 +01:00
parent 90df427200
commit 3f717a51cd
5 changed files with 84 additions and 61 deletions

View File

@@ -631,8 +631,9 @@ int main(int argc, char *argv[]) {
if (request_who_am_i(&device_id, &family_id, &product_id) == FALSE) {
show_error_message(NULL, "No suitable reply from device - is it connected?");
} else {
create_window();
gui_create();
gtk_main();
gui_free();
}
}