diff options
author | Benjamin Otte <otte@redhat.com> | 2016-11-20 11:44:19 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-11-20 11:44:19 +0100 |
commit | 84918c7e6f31339eccd3b27587ecfbd01a85f431 (patch) | |
tree | 8f4cb29591a43645cd72c5c11dbb004052dd6a8b | |
parent | 78888ade0d2e7bbf0aec6787e922ac067fee1b8f (diff) | |
download | gtk+-84918c7e6f31339eccd3b27587ecfbd01a85f431.tar.gz |
modules: Add a check for GTK3 symbols
This way, we can warn if GTK2 or GTK3 are linked into libgtk4.
-rw-r--r-- | gtk/gtkmodules.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c index 93f52c49d8..e05ffd3ee8 100644 --- a/gtk/gtkmodules.c +++ b/gtk/gtkmodules.c @@ -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; |