示例#1
0
文件: main.c 项目: community-ssu/mafw
void
application_exit (void)
{
        deinit_app ();
        deinit_ui ();
        gtk_main_quit ();
}
示例#2
0
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;
}