From 053dcb98ca557ec33b428242dcdeb6b04db635ac Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 28 Jul 2011 23:12:46 +0200 Subject: [PATCH] Return empty string if there's no speed dial 'markup' is not set at this point. --- midori/midori-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 6cf0e924..33e375d2 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3566,7 +3566,7 @@ prepare_speed_dial_html (MidoriView* view) g_object_get (browser, "speed-dial", &key_file, NULL); if (!key_file) - return g_string_free (markup, FALSE); + return g_strdup (""); file_name = g_build_filename ("midori", "res", "speeddial-head.html", NULL); file_path = sokoke_find_data_filename (file_name); -- 2.39.5