83 |
83 |
84 #if GTK_MAJOR_VERSION >= 4 |
84 #if GTK_MAJOR_VERSION >= 4 |
85 #define UI_GTK_SINCE_V4(st) st |
85 #define UI_GTK_SINCE_V4(st) st |
86 #define UI_GTK_SINCE_V3(st) |
86 #define UI_GTK_SINCE_V3(st) |
87 #define UI_GTK_V2(st) |
87 #define UI_GTK_V2(st) |
|
88 #define UI_GTK_V3(st) |
|
89 #define UI_GTK_V4(st) st |
88 #elif GTK_MAJOR_VERSION >= 3 |
90 #elif GTK_MAJOR_VERSION >= 3 |
89 #define UI_GTK_SINCE_V4(st) st |
91 #define UI_GTK_SINCE_V4(st) st |
90 #define UI_GTK_SINCE_V3(st) st |
92 #define UI_GTK_SINCE_V3(st) st |
91 #define UI_GTK_V2(st) |
93 #define UI_GTK_V2(st) |
|
94 #define UI_GTK_V3(st) st |
|
95 #define UI_GTK_V4(st) |
92 #else |
96 #else |
93 #define UI_GTK_SINCE_V4(st) |
97 #define UI_GTK_SINCE_V4(st) |
94 #define UI_GTK_SINCE_V3(st) |
98 #define UI_GTK_SINCE_V3(st) |
95 #define UI_GTK_V2(st) st |
99 #define UI_GTK_V2(st) st |
|
100 #define UI_GTK_V3(st) |
|
101 #define UI_GTK_V4(st) |
96 #endif |
102 #endif |
97 |
103 |
98 |
104 |
99 typedef struct UiEventData { |
105 typedef struct UiEventData { |
100 UiObject *obj; |
106 UiObject *obj; |