[gtk+] Avoid introspection scanner warning on GtkPlug and GtkSocket



commit bb09982b66281f703c6d4a4f8f0c10ef21d517db
Author: Pavel Holejsovsky <pholejs src gnome org>
Date:   Thu Jul 28 13:29:37 2011 +0200

    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 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 908b38e..e9248f9 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 \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]