From: Christian Dywan Date: Thu, 28 Jul 2011 21:12:46 +0000 (+0200) Subject: Return empty string if there's no speed dial X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=053dcb98ca557ec33b428242dcdeb6b04db635ac;p=midori Return empty string if there's no speed dial 'markup' is not set at this point. --- 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);