seed r171 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r171 - trunk/libseed
- Date: Fri, 7 Nov 2008 23:37:49 +0000 (UTC)
Author: racarr
Date: Fri Nov 7 23:37:49 2008
New Revision: 171
URL: http://svn.gnome.org/viewvc/seed?rev=171&view=rev
Log:
Remove some dead code introduced in last commit.
Modified:
trunk/libseed/seed-types.c
Modified: trunk/libseed/seed-types.c
==============================================================================
--- trunk/libseed/seed-types.c (original)
+++ trunk/libseed/seed-types.c Fri Nov 7 23:37:49 2008
@@ -85,27 +85,7 @@
JSObjectSetPrototype(eng->context,
(JSObjectRef) js_ref, prototype);
else {
- interfaces = g_type_interfaces(G_OBJECT_TYPE(object), &n);
- for (i = 0; i < n; i++) {
- GIFunctionInfo *function;
- GIBaseInfo *interface;
- gint n_functions, k;
-
- interface = g_irepository_find_by_gtype(0,
- interfaces[i]);
-
- n_functions =
- g_interface_info_get_n_methods((GIInterfaceInfo *)
- interface);
- for (k = 0; k < n_functions; k++) {
- function =
- g_interface_info_get_method((GIInterfaceInfo
- *) interface, k);
-
- seed_gobject_define_property_from_function_info
- (function, (JSObjectRef) js_ref, TRUE);
- }
- }
+ g_assert_not_reached();
}
g_object_ref_sink(object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]