[gjs] context: Fix definitions for print/printerr
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] context: Fix definitions for print/printerr
- Date: Wed, 15 Jan 2014 20:45:10 +0000 (UTC)
commit b67a7633be4860eca853dd50197995293a455239
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jan 15 15:42:51 2014 -0500
context: Fix definitions for print/printerr
gjs/context.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gjs/context.cpp b/gjs/context.cpp
index b3d85b9..c99b583 100644
--- a/gjs/context.cpp
+++ b/gjs/context.cpp
@@ -382,8 +382,8 @@ gjs_context_finalize(GObject *object)
static JSFunctionSpec global_funcs[] = {
{ "log", JSOP_WRAPPER (gjs_log), 1, GJS_MODULE_PROP_FLAGS },
{ "logError", JSOP_WRAPPER (gjs_log_error), 2, GJS_MODULE_PROP_FLAGS },
- { "print", JSOP_WRAPPER (gjs_log), 0, GJS_MODULE_PROP_FLAGS },
- { "printerr", JSOP_WRAPPER (gjs_log), 0, GJS_MODULE_PROP_FLAGS },
+ { "print", JSOP_WRAPPER (gjs_print), 0, GJS_MODULE_PROP_FLAGS },
+ { "printerr", JSOP_WRAPPER (gjs_printerr), 0, GJS_MODULE_PROP_FLAGS },
{ NULL },
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]