[gnome-shell] Use gjs-internals.pc



commit 85d3336245e96e2071af1805a69065467e634389
Author: Colin Walters <walters verbum org>
Date:   Thu Oct 21 10:50:30 2010 -0400

    Use gjs-internals.pc
    
    Gjs changed to separate the "basic" API from "embedder" API.  Unfortunately
    due to our use of the importer API and a few other bits, we need to use
    the "module" one.  In the future I plan to extend the core API to
    support this use case.

 configure.ac       |    2 +-
 src/shell-global.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a9533aa..fe98add 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,7 @@ PKG_CHECK_MODULES(MUTTER_PLUGIN, gio-2.0 >= $GIO_MIN_VERSION
                                  gio-unix-2.0 dbus-glib-1
                                  gtk+-3.0 >= $GTK_MIN_VERSION
                                  mutter-plugins >= $MUTTER_MIN_VERSION
-                                 gjs-gi-1.0 >= $GJS_MIN_VERSION
+                                 gjs-internals-1.0 >= $GJS_MIN_VERSION
 				 libgnome-menu $recorder_modules gconf-2.0
                                  gdk-x11-3.0
 				 clutter-x11-1.0 >= $CLUTTER_MIN_VERSION
diff --git a/src/shell-global.c b/src/shell-global.c
index 1e42fc9..accd411 100644
--- a/src/shell-global.c
+++ b/src/shell-global.c
@@ -23,7 +23,7 @@
 #include <gio/gio.h>
 #include <math.h>
 #include <X11/extensions/Xfixes.h>
-#include <gjs/gjs.h>
+#include <gjs/gjs-module.h>
 #include <canberra.h>
 #ifdef HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>



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