Commit edb9fcc16cab52f61854081a700281ce9d00566a
1 parent
a9252bfc
Exists in
master
and in
2 other branches
Testing refactored menu engine on windows.
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
src/main/builder.c
@@ -18,6 +18,8 @@ | @@ -18,6 +18,8 @@ | ||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include "private.h" | 20 | #include "private.h" |
21 | + #include <pw3270/application.h> | ||
22 | + #include <pw3270/keypad.h> | ||
21 | 23 | ||
22 | static GMenu * get_keypad_menu(GApplication *application) { | 24 | static GMenu * get_keypad_menu(GApplication *application) { |
23 | 25 | ||
@@ -50,6 +52,11 @@ | @@ -50,6 +52,11 @@ | ||
50 | 52 | ||
51 | static const char * filename = "ui/linux.ui.xml"; | 53 | static const char * filename = "ui/linux.ui.xml"; |
52 | 54 | ||
55 | +#elif defined(G_OS_WIN32) | ||
56 | + | ||
57 | + static const char * filename = "ui/windows.ui.xml"; | ||
58 | + | ||
59 | + | ||
53 | #else | 60 | #else |
54 | 61 | ||
55 | #error Cant determine platform based UI definition | 62 | #error Cant determine platform based UI definition |