]> spindle.queued.net Git - midori/commitdiff
Remove spurious slot_id variable fom prepare_speed_dial_html
authorPaweł Forysiuk <tuxator@o2.pl>
Sat, 27 Aug 2011 16:29:50 +0000 (18:29 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 13 Sep 2011 23:39:14 +0000 (01:39 +0200)
midori/midori-view.c

index d9fb43d23ce333e0eacce76f4c77f6866ad9c19b..ca8f2fa5349e2a0ffae425146fbfe9d580c937b2 100644 (file)
@@ -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,