diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ | |||
1 | #include <stdlib.h> | 1 | #include <stdlib.h> |
2 | #include <stdio.h> | 2 | #include <stdio.h> |
3 | #include <gui/gui.h> | 3 | #include "gui/gui.h" |
4 | #include <MLV/MLV_path.h> | 4 | #include "MLV/MLV_path.h" |
5 | 5 | ||
6 | int main(int argc, char **argv) { | 6 | int main(int argc, char **argv) { |
7 | if (argc < 3) { | 7 | if (argc < 3) { |
@@ -16,10 +16,10 @@ int main(int argc, char **argv) { | |||
16 | fprintf(stderr, "One path is incorrect\n"); | 16 | fprintf(stderr, "One path is incorrect\n"); |
17 | exit(-3); | 17 | exit(-3); |
18 | }; | 18 | }; |
19 | GUI *gui = gui_init(argv[1], argv[2]); | 19 | GUI *gui = gui_create(argv[1], argv[2]); |
20 | while (mode != EXITING) { | 20 | while (mode != EXITING) { |
21 | gui_handle_event(gui); | 21 | gui_handle_event(gui); |
22 | } | 22 | } |
23 | gui_free(gui); | 23 | gui_destroy(gui); |
24 | return 0; | 24 | return 0; |
25 | } | 25 | } |