[epiphany] ephy-navigation-history-action: Rename webkit_construct_history_list



commit 5804d8437b26f838fbad66dd7b6ac58bd04c1118
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Fri Jun 22 08:37:18 2012 +0200

    ephy-navigation-history-action: Rename webkit_construct_history_list
    
    As construct_webkit_history_list since the webkit_ prefix makes the
    function look like WebKit API even if it's a private method.

 src/ephy-navigation-history-action.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/ephy-navigation-history-action.c b/src/ephy-navigation-history-action.c
index b03dad1..fe56b03 100644
--- a/src/ephy-navigation-history-action.c
+++ b/src/ephy-navigation-history-action.c
@@ -441,8 +441,9 @@ activate_menu_item_cb (GtkWidget *menuitem,
   }
 #endif
 }
-static GList*
-webkit_construct_history_list (WebKitWebView *web_view,
+
+static GList *
+construct_webkit_history_list (WebKitWebView *web_view,
                                WebKitHistoryType hist_type,
                                int limit)
 {
@@ -484,10 +485,10 @@ build_dropdown_menu (EphyNavigationHistoryAction *action)
   web_view = EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed);
 
   if (action->priv->direction == EPHY_NAVIGATION_HISTORY_DIRECTION_BACK)
-    list = webkit_construct_history_list (web_view,
+    list = construct_webkit_history_list (web_view,
                                           WEBKIT_HISTORY_BACKWARD, 10);
   else
-    list = webkit_construct_history_list (web_view,
+    list = construct_webkit_history_list (web_view,
                                           WEBKIT_HISTORY_FORWARD, 10);
 #ifdef HAVE_WEBKIT2
   /* TODO: WebKitBackForwardList */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]