summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/instance.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/instance.c b/src/instance.c
index 60dfee2..3b5ab22 100644
--- a/src/instance.c
+++ b/src/instance.c
@@ -36,17 +36,14 @@ suil_ui_supported(const char* host_type_uri, const char* ui_type_uri)
}
if ((!strcmp(host_type_uri, GTK2_UI_URI) &&
- !strcmp(ui_type_uri, X11_UI_URI)) ||
+ (!strcmp(ui_type_uri, COCOA_UI_URI) ||
+ !strcmp(ui_type_uri, WIN_UI_URI) ||
+ !strcmp(ui_type_uri, X11_UI_URI))) ||
(!strcmp(host_type_uri, GTK3_UI_URI) &&
- !strcmp(ui_type_uri, X11_UI_URI)) ||
- (!strcmp(host_type_uri, GTK2_UI_URI) &&
- !strcmp(ui_type_uri, WIN_UI_URI)) ||
- (!strcmp(host_type_uri, GTK2_UI_URI) &&
- !strcmp(ui_type_uri, COCOA_UI_URI)) ||
+ (!strcmp(ui_type_uri, QT5_UI_URI))) ||
(!strcmp(host_type_uri, QT5_UI_URI) &&
- !strcmp(ui_type_uri, X11_UI_URI)) ||
- (!strcmp(host_type_uri, QT5_UI_URI) &&
- !strcmp(ui_type_uri, COCOA_UI_URI))) {
+ (!strcmp(ui_type_uri, COCOA_UI_URI) ||
+ !strcmp(ui_type_uri, X11_UI_URI)))) {
return SUIL_WRAPPING_EMBEDDED;
}