mirror of
https://github.com/cclassic/model-ghdl
synced 2024-11-29 09:13:28 +01:00
Add missing cast to GTK_WINDOW
This commit is contained in:
parent
55105018aa
commit
ef6c65d20d
2
gui.c
2
gui.c
@ -67,7 +67,7 @@ int showMessage(int message_type, char *text, char *defaultText, char **reply) {
|
|||||||
gtk_container_add(GTK_CONTAINER(window), mainBox);
|
gtk_container_add(GTK_CONTAINER(window), mainBox);
|
||||||
gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
|
gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
|
||||||
gtk_window_set_default_size(GTK_WINDOW(window), 320, 10);
|
gtk_window_set_default_size(GTK_WINDOW(window), 320, 10);
|
||||||
gtk_window_present(window);
|
gtk_window_present(GTK_WINDOW(window));
|
||||||
|
|
||||||
gtk_main();
|
gtk_main();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user