Add missing cast to GTK_WINDOW

master
Markus Koch 2018-01-21 14:12:06 +01:00
parent 55105018aa
commit ef6c65d20d
1 changed files with 1 additions and 1 deletions

2
gui.c
View File

@ -67,7 +67,7 @@ int showMessage(int message_type, char *text, char *defaultText, char **reply) {
gtk_container_add(GTK_CONTAINER(window), mainBox);
gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
gtk_window_set_default_size(GTK_WINDOW(window), 320, 10);
gtk_window_present(window);
gtk_window_present(GTK_WINDOW(window));
gtk_main();