Return empty string if there's no speed dial
'markup' is not set at this point.
This commit is contained in:
parent
6a3c3d155a
commit
053dcb98ca
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue