void application_exit (void) { deinit_app (); deinit_ui (); gtk_main_quit (); }
gint main (gint argc, gchar *argv[]) { if (!init_ui (&argc, &argv)) { return -2; } if (!init_upnp ()) { return -3; } gtk_main (); deinit_upnp (); deinit_ui (); return 0; }