From 464dda465452a228d8cf9b625b08f9be28ef96ee Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Tue, 29 Apr 2008 12:10:15 +0000 Subject: [project @ fpeters@0d.be-20080410140255-456kiwqz53exn9vo] removed hash table size checks as they requires access to glib internals Original author: Frederic Peters Date: 2008-04-10 16:02:55.908000+02:00 --- bindings/lang_python_wrapper_top.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bindings/lang_python_wrapper_top.c') diff --git a/bindings/lang_python_wrapper_top.c b/bindings/lang_python_wrapper_top.c index 1454aff6..4ef300a5 100644 --- a/bindings/lang_python_wrapper_top.c +++ b/bindings/lang_python_wrapper_top.c @@ -39,11 +39,6 @@ g_hash_table_remove_all (GHashTable *hash_table) { g_return_if_fail (hash_table != NULL); -#ifndef G_DISABLE_ASSERT - if (hash_table->nnodes != 0) - hash_table->version++; -#endif - g_hash_table_remove_all_nodes (hash_table, TRUE); g_hash_table_maybe_resize (hash_table); } -- cgit