mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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:
parent
78888ade0d
commit
84918c7e6f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user