mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Include GObject's visibility header
The gobject-introspection build goes through the GLib types when generating the introspection data for GLib, but it does not include glib-object.h, otherwise all GObject symbols would end up inside the GLib namespace. This means we need to import the gobject-visibility.h header inside glib-types.h. Since the header is guarded by a once pragma, it doesn't really affect any legitimate user of the C API.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <gobject/gobject-visibility.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user