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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user