From 532fa299d479a69a7be7f683cc9e5f0f9296e732 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 18 Nov 2011 00:55:19 +0100 Subject: [PATCH] An extension_init returning NULL is no test error --- tests/extensions.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/extensions.c b/tests/extensions.c index 16a4848d..22b6853a 100644 --- a/tests/extensions.c +++ b/tests/extensions.c @@ -168,6 +168,8 @@ extension_activate (gconstpointer data) { MidoriApp* app = midori_app_new (); MidoriExtension* extension = MIDORI_EXTENSION (data); + if (extension == NULL) + return; g_object_set (app, "settings", midori_web_settings_new (), NULL); g_signal_emit_by_name (extension, "activate", app); midori_extension_deactivate (extension); -- 2.39.5