[Xfce4-commits] <midori:master> Rename midori_view_speed_dial_inject_thumb function since it no longer injects anything.

Christian Dywan noreply at xfce.org
Wed Mar 23 00:30:01 CET 2011


Updating branch refs/heads/master
         to d3edddea9022e728faab80b90ecd6fe2955329e9 (commit)
       from 34ef20ce4e2f775f303948d58561d35ff090fc42 (commit)

commit d3edddea9022e728faab80b90ecd6fe2955329e9
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Tue Mar 22 23:41:52 2011 +0100

    Rename midori_view_speed_dial_inject_thumb function since it no longer injects anything.
    
    Additionally drop filename argument which was never used in function body.

 midori/midori-view.c |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index b669ec3..238ca97 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -5489,17 +5489,15 @@ thumb_view_load_status_cb (MidoriView* thumb_view,
 }
 
 /**
- * midori_view_speed_dial_inject_thumb
+ * midori_view_speed_dial_get_thumb
  * @view: a #MidoriView
- * @filename: filename of the thumbnail
  * @dom_id: Id of the shortcut on speed_dial page in wich to inject content
  * @url: url of the shortcut
  */
 static void
-midori_view_speed_dial_inject_thumb (MidoriView* view,
-                                     gchar*      filename,
-                                     gchar*      dom_id,
-                                     gchar*      url)
+midori_view_speed_dial_get_thumb (MidoriView* view,
+                                  gchar*      dom_id,
+                                  gchar*      url)
 {
     GtkWidget* thumb_view;
     MidoriWebSettings* settings;
@@ -5620,7 +5618,7 @@ midori_view_speed_dial_save (MidoriView*  view,
         {
             g_key_file_set_string (key_file, dial_id, "uri", parts[2]);
             g_key_file_set_string (key_file, dial_id, "title", parts[3]);
-            midori_view_speed_dial_inject_thumb (view, NULL, parts[1], parts[2]);
+            midori_view_speed_dial_get_thumb (view, parts[1], parts[2]);
         }
         else if (g_str_equal (action, "rename"))
         {



More information about the Xfce4-commits mailing list