gtk: x: fix compilation without x11 backend

https://bugzilla.gnome.org/show_bug.cgi?id=744148
This commit is contained in:
Lionel Landwerlin 2015-02-07 20:05:18 +00:00 committed by Lionel Landwerlin
parent 973060deb5
commit 015bf99816

View File

@ -19,9 +19,13 @@
#error "Only <gtk/gtkx.h> can be included directly."
#endif
#ifdef GDK_WINDOWING_X11
#ifndef __GI_SCANNER__
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkSocket, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkPlug, g_object_unref)
#endif
#endif