Skip to content
Browse files

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.
  • Loading branch information...
1 parent 21a5b03 commit bb09982b66281f703c6d4a4f8f0c10ef21d517db Pavel Holejsovsky committed Jul 28, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 gtk/Makefile.am
View
9 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 \

0 comments on commit bb09982

Please sign in to comment.
Something went wrong with that request. Please try again.