[gnome-shell/wip/gtkmenutrackeritem: 3/9] Add a separate ShellMenu GIR file for introspecting the copy/paste code



commit 6490a65774b1ea3b3ec4b897c0c507bd5311c99b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 9 15:14:52 2013 -0400

    Add a separate ShellMenu GIR file for introspecting the copy/paste code
    
    We'll need some of these pieces to be introspectable when we port to
    GtkMenuTrackerItem. Due to technical limitations in introspection, we
    can't put Gtk-prefixed items in the shell namespace, so add them to
    a new introspection library instead.

 src/Makefile.am |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index e60daf2..ec0028f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -291,12 +291,30 @@ libgnome_shell_la_LIBADD =                \
 
 libgnome_shell_la_CPPFLAGS = $(gnome_shell_cflags)
 
-Shell-0.1.gir: libgnome-shell.la St-1.0.gir
+ShellMenu-0.1.gir: libgnome-shell.la
+ShellMenu_0_1_gir_INCLUDES = Gio-2.0
+ShellMenu_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
+ShellMenu_0_1_gir_LIBS = libgnome-shell.la
+ShellMenu_0_1_gir_FILES = \
+       gtkactionmuxer.h                \
+       gtkactionmuxer.c                \
+       gtkactionobservable.h           \
+       gtkactionobservable.c           \
+       gtkactionobserver.h             \
+       gtkactionobserver.c             \
+       $(NULL)
+ShellMenu_0_1_gir_SCANNERFLAGS = --namespace=ShellMenu --identifier-prefix=Gtk
+INTROSPECTION_GIRS += ShellMenu-0.1.gir
+CLEANFILES += ShellMenu-0.1.gir
+
+Shell-0.1.gir: libgnome-shell.la St-1.0.gir ShellMenu-0.1.gir
 Shell_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 Soup-2.4 GMenu-3.0 
NetworkManager-1.0 NMClient-1.0
 Shell_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
 Shell_0_1_gir_LIBS = libgnome-shell.la
 Shell_0_1_gir_FILES = $(libgnome_shell_la_gir_sources)
-Shell_0_1_gir_SCANNERFLAGS = --include-uninstalled=$(builddir)/St-1.0.gir \
+Shell_0_1_gir_SCANNERFLAGS =   \
+       --include-uninstalled=$(builddir)/St-1.0.gir \
+       --include-uninstalled=$(builddir)/ShellMenu-0.1.gir \
        --add-include-path=$(MUTTER_GIR_DIR) $(if $(BLUETOOTH_DIR),-L $(BLUETOOTH_DIR),)
 INTROSPECTION_GIRS += Shell-0.1.gir
 CLEANFILES += Shell-0.1.gir


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