modules: Add a check for GTK3 symbols

This way, we can warn if GTK2 or GTK3 are linked into libgtk4.
This commit is contained in:
Benjamin Otte 2016-11-20 11:44:19 +01:00
parent 78888ade0d
commit 84918c7e6f

View File

@ -593,6 +593,8 @@ _gtk_module_has_mixed_deps (GModule *module_to_check)
if (g_module_symbol (module, "gtk_progress_get_type", &func))
result = TRUE;
else if (g_module_symbol (module, "gtk_misc_get_type", &func))
result = TRUE;
else
result = FALSE;