summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-04-08 11:46:19 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-04-08 11:46:19 -0400
commita26f6084d22213f685b6d8419d443bdc6db5baac (patch)
tree6204aae50cb5050b11f9a15d7581e2bd68d0eafd
parentaf9b036a4a885e56a54ad2a21f2ff4331850df78 (diff)
Lookups are no longer O(n), they're O(1) as of 2.29.x
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r--src/codegen.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/codegen.py b/src/codegen.py
index ec68a49..34a8b39 100644
--- a/src/codegen.py
+++ b/src/codegen.py
@@ -1392,8 +1392,6 @@ class CodeGenerator:
' _ExtendedGDBusPropertyInfo *info;\n'
' GVariant *ret;\n'
%(i.name_lower, i.camel_name, i.ns_upper, i.name_upper))
- # TODO: g_dbus_interface_info_lookup_property is O(n)
- # See https://bugzilla.gnome.org/show_bug.cgi?id=641776
self.c.write(' ret = NULL;\n'
' info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_%s_interface_info, property_name);\n'
' g_assert (info != NULL);\n'