From 7f91e0985fd87df4302ae35f3c55763281bacdc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Fri, 27 Jul 2012 15:55:17 +0200 Subject: [PATCH] Use g_hash_table_lookup() instead of newer g_hash_table_contains() This retains compability with GLib 2.30. --- midori/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/main.c b/midori/main.c index 46d2f30e..57ee6f3b 100644 --- a/midori/main.c +++ b/midori/main.c @@ -1267,7 +1267,7 @@ midori_load_module (MidoriApp* app, Skip any modules that were loaded before. */ if (modules == NULL) modules = g_hash_table_new (g_direct_hash, g_direct_equal); - if (g_hash_table_contains (modules, module)) + if (g_hash_table_lookup (modules, module)) return; g_hash_table_insert (modules, module, g_strdup (filename));