mdiary/main.c
2017-01-31 18:18:10 +01:00

16 lines
340 B
C

#include <stdio.h>
#include <gtk/gtk.h>
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;
}