comparison: ui/gtk/webview.h
ui/gtk/webview.h
- changeset 103
- 6606616eca9f
- parent 102
- 64ded9f6a6c6
equal
deleted
inserted
replaced
| 29 #define WEBVIEW_H |
29 #define WEBVIEW_H |
| 30 |
30 |
| 31 #ifdef UI_WEBVIEW |
31 #ifdef UI_WEBVIEW |
| 32 |
32 |
| 33 #include "../ui/webview.h" |
33 #include "../ui/webview.h" |
| |
34 |
| |
35 #if GTK_MAJOR_VERSION >= 4 |
| 34 #include <webkit/webkit.h> |
36 #include <webkit/webkit.h> |
| |
37 #else |
| |
38 #include <webkit2/webkit2.h> |
| |
39 #endif |
| 35 |
40 |
| 36 #ifdef __cplusplus |
41 #ifdef __cplusplus |
| 37 extern "C" { |
42 extern "C" { |
| 38 #endif |
43 #endif |
| 39 |
44 |