gdk: Include copy of glib/gconstructor.h

This is named gdkconstructor.h to avoid any possible conflicts. This fixes
the current usages of G_HAS_CONSTRUCTORS, as that header is not installed
by glib.
This commit is contained in:
Carlos Garnacho
2019-03-17 21:29:59 +01:00
parent 864e1ca526
commit 05bc2f4dc1
2 changed files with 122 additions and 0 deletions

View File

@ -26,6 +26,8 @@
#include "gtksettings.h"
#include "gtkprivate.h"
#include "gdk/gdkconstructor.h"
G_DEFINE_TYPE (GtkApplicationImplDBus, gtk_application_impl_dbus, GTK_TYPE_APPLICATION_IMPL)
#define GNOME_DBUS_NAME "org.gnome.SessionManager"