[libpeas] Adapt to new gjs interface
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Adapt to new gjs interface
- Date: Fri, 10 May 2013 00:11:58 +0000 (UTC)
commit 0231a7001ad476e758db025cab3bd3bc6d99f5b7
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Wed May 8 21:03:50 2013 +0200
Adapt to new gjs interface
Also bump the gjs dependency to 1.36.0. The dependency is in
reality even higher but gjs has unfortunately not bumped its
version since the interface changed.
https://bugzilla.gnome.org/show_bug.cgi?id=699950
configure.ac | 2 +-
loaders/gjs/peas-extension-gjs.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ebe6e38..3c86259 100644
--- a/configure.ac
+++ b/configure.ac
@@ -274,7 +274,7 @@ dnl ================================================================
dnl GJS Javascript Engine
dnl ================================================================
-GJS_REQUIRED=1.31.11
+GJS_REQUIRED=1.36.0
AC_ARG_ENABLE(gjs,
AS_HELP_STRING([--enable-gjs],[Enable GJS support]),
diff --git a/loaders/gjs/peas-extension-gjs.c b/loaders/gjs/peas-extension-gjs.c
index 0ec418c..691968d 100644
--- a/loaders/gjs/peas-extension-gjs.c
+++ b/loaders/gjs/peas-extension-gjs.c
@@ -284,7 +284,7 @@ peas_extension_gjs_call (PeasExtensionWrapper *exten,
if (!success)
{
- if (!gjs_log_exception (gexten->js_context, NULL))
+ if (!gjs_log_exception (gexten->js_context))
{
g_warning ("Error while calling '%s.%s'",
g_type_name (exten_type), method_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]