mdiary/main.c

16 lines
340 B
C
Raw Normal View History

2017-01-31 17:18:33 +01:00
#include <stdio.h>
2017-01-31 18:18:10 +01:00
#include <gtk/gtk.h>
2017-01-31 17:18:33 +01:00
int main(int argc, char *argv[])
{
2017-01-31 18:18:10 +01:00
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;
2017-01-31 17:18:33 +01:00
}