[libpeas] Fix a typo in the GJS loader
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Fix a typo in the GJS loader
- Date: Sun, 12 Jun 2011 19:15:54 +0000 (UTC)
commit 2613c64b528d37e485346f6fa5630b73bef889af
Author: Garrett Regier <alias301 gmail com>
Date: Sun Jun 12 02:13:58 2011 -0700
Fix a typo in the GJS loader
Calling g_base_info_get_name() on a GTypeInfo will cause an assert.
loaders/gjs/peas-extension-gjs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/loaders/gjs/peas-extension-gjs.c b/loaders/gjs/peas-extension-gjs.c
index f93da35..dc67fd4 100644
--- a/loaders/gjs/peas-extension-gjs.c
+++ b/loaders/gjs/peas-extension-gjs.c
@@ -166,7 +166,7 @@ set_out_arg (JSContext *js_context,
else
{
g_warning ("Error failed to convert OUT argument '%s' from "
- "jsval to GIArgument", g_base_info_get_name (type_info));
+ "jsval to GIArgument", g_base_info_get_name (arg_info));
}
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]