gjs r109 - trunk/gi
- From: tko svn gnome org
- To: svn-commits-list gnome org
- Subject: gjs r109 - trunk/gi
- Date: Wed, 19 Nov 2008 17:18:59 +0000 (UTC)
Author: tko
Date: Wed Nov 19 17:18:59 2008
New Revision: 109
URL: http://svn.gnome.org/viewvc/gjs?rev=109&view=rev
Log:
Bug 561516 â skipping deprecated methods shouldn't signal error case
* gi/boxed.c (boxed_new_resolve):
* gi/object.c (object_instance_new_resolve):
* gi/union.c (union_new_resolve): Don't signal error when
skipping deprecated methods, just leave return value as NULL.
Modified:
trunk/gi/boxed.c
trunk/gi/object.c
trunk/gi/union.c
Modified: trunk/gi/boxed.c
==============================================================================
--- trunk/gi/boxed.c (original)
+++ trunk/gi/boxed.c Wed Nov 19 17:18:59 2008
@@ -108,7 +108,7 @@
g_base_info_get_namespace( (GIBaseInfo*) priv->info),
g_base_info_get_name( (GIBaseInfo*) priv->info));
g_base_info_unref( (GIBaseInfo*) method_info);
- return JS_FALSE;
+ return JS_TRUE;
}
gjs_debug(GJS_DEBUG_GBOXED,
Modified: trunk/gi/object.c
==============================================================================
--- trunk/gi/object.c (original)
+++ trunk/gi/object.c Wed Nov 19 17:18:59 2008
@@ -356,7 +356,7 @@
g_base_info_get_namespace( (GIBaseInfo*) priv->info),
g_base_info_get_name( (GIBaseInfo*) priv->info));
g_base_info_unref( (GIBaseInfo*) method_info);
- return JS_FALSE;
+ return JS_TRUE;
}
gjs_debug(GJS_DEBUG_GOBJECT,
Modified: trunk/gi/union.c
==============================================================================
--- trunk/gi/union.c (original)
+++ trunk/gi/union.c Wed Nov 19 17:18:59 2008
@@ -108,7 +108,7 @@
g_base_info_get_namespace( (GIBaseInfo*) priv->info),
g_base_info_get_name( (GIBaseInfo*) priv->info));
g_base_info_unref( (GIBaseInfo*) method_info);
- return JS_FALSE;
+ return JS_TRUE;
}
gjs_debug(GJS_DEBUG_GBOXED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]