[Xfce4-commits] <midori:master> Remove spurious slot_id variable fom prepare_speed_dial_html

Christian Dywan noreply at xfce.org
Wed Sep 14 02:46:03 CEST 2011


Updating branch refs/heads/master
         to c1321b007230c2b5661da1bcaa727630eb93ad41 (commit)
       from f748a9b8a4b3f691045dc2d8d4e07f61df29144d (commit)

commit c1321b007230c2b5661da1bcaa727630eb93ad41
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Sat Aug 27 18:29:50 2011 +0200

    Remove spurious slot_id variable fom prepare_speed_dial_html

 midori/midori-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index d9fb43d..ca8f2fa 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3755,7 +3755,6 @@ prepare_speed_dial_html (MidoriView* view)
 
         if (uri && *uri && *uri != '#')
         {
-            gchar* slot_id = g_strdup_printf ("s%d", slot);
             gchar* title = g_key_file_get_string (key_file, dial_entry, "title", NULL);
             gchar* thumb_file = sokoke_build_thumbnail_path (uri);
             gchar* encoded;
@@ -3772,7 +3771,6 @@ prepare_speed_dial_html (MidoriView* view)
             {
                 encoded = g_strdup ("");
             }
-            g_free (slot_id);
             g_free (thumb_file);
 
             g_string_append_printf (markup,


More information about the Xfce4-commits mailing list