[gjs] context: Fix the signature of the GC callback
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] context: Fix the signature of the GC callback
- Date: Sun, 7 Apr 2013 18:26:03 +0000 (UTC)
commit f503b3109b8925d3cfbe0857f73e588c2e9e0131
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Apr 5 01:41:13 2013 -0400
context: Fix the signature of the GC callback
https://bugzilla.gnome.org/show_bug.cgi?id=697309
gjs/context.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gjs/context.c b/gjs/context.c
index 5c40ecc..3d48594 100644
--- a/gjs/context.c
+++ b/gjs/context.c
@@ -56,8 +56,8 @@ static void gjs_context_set_property (GObject *object,
guint prop_id,
const GValue *value,
GParamSpec *pspec);
-static JSBool gjs_on_context_gc (JSRuntime *rt,
- JSGCStatus status);
+static void gjs_on_context_gc (JSRuntime *rt,
+ JSGCStatus status);
struct _GjsContext {
GObject parent;
@@ -887,7 +887,7 @@ gjs_context_idle_emit_gc (gpointer data)
return FALSE;
}
-static JSBool
+static void
gjs_on_context_gc (JSRuntime *rt,
JSGCStatus status)
{
@@ -911,8 +911,6 @@ gjs_on_context_gc (JSRuntime *rt,
default:
break;
}
-
- return TRUE;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]