1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-13 07:19:53 +01:00

Add missing cast to GTK_WINDOW

This commit is contained in:
Markus 2018-01-21 14:12:06 +01:00
parent 55105018aa
commit ef6c65d20d

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();