[Xfce4-commits] <midori:master> Return empty string if there's no speed dial
Christian Dywan
noreply at xfce.org
Fri Jul 29 04:32:03 CEST 2011
Updating branch refs/heads/master
to 053dcb98ca557ec33b428242dcdeb6b04db635ac (commit)
from 6a3c3d155aae97b3025aac88b385f567019abcaf (commit)
commit 053dcb98ca557ec33b428242dcdeb6b04db635ac
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Jul 28 23:12:46 2011 +0200
Return empty string if there's no speed dial
'markup' is not set at this point.
midori/midori-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 6cf0e92..33e375d 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);
More information about the Xfce4-commits
mailing list