#include #include int main(int argc, char *argv[]) { GtkWidget *mainWindow; gtk_init(&argc, &argv); mainWindow = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_widget_show(mainWindow); g_signal_connect (G_OBJECT (mainWindow), "destroy", G_CALLBACK (gtk_main_quit), NULL); gtk_main(); return 0; }