From bb09982b66281f703c6d4a4f8f0c10ef21d517db Mon Sep 17 00:00:00 2001 From: Pavel Holejsovsky Date: Thu, 28 Jul 2011 13:29:37 +0200 Subject: Avoid introspection scanner warning on GtkPlug and GtkSocket Make sure that sources with annotations are included into the list of sources passed to introspection scanner. --- gtk/Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gtk/Makefile.am') diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 908b38e099..e9248f9557 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -1007,15 +1007,22 @@ introspection_files = \ gtktypebuiltins.h \ gtktypebuiltins.c +if USE_X11 +introspection_files += \ + gtksocket.c \ + gtkplug.c +endif + Gtk-3.0.gir: $(INTROSPECTION_SCANNER) libgtk-3.la $(top_builddir)/gdk/Gdk-3.0.gir Makefile Gtk_3_0_gir_SCANNERFLAGS = \ --add-include-path=$(top_builddir)/gdk \ --include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir +Gtk_3_0_gir_INCLUDES = Atk-1.0 if USE_X11 Gtk_3_0_gir_SCANNERFLAGS += --add-include-path=$(top_builddir)/gdk/x11 +Gtk_3_0_gir_INCLUDES += xlib-2.0 endif Gtk_3_0_gir_SCANNERFLAGS += --c-include="gtk/gtkx.h" -Gtk_3_0_gir_INCLUDES = Atk-1.0 Gtk_3_0_gir_CFLAGS = \ $(AM_CPPFLAGS) \ -UGDK_DISABLE_DEPRECATED \ -- cgit v1.2.1