summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2012-06-22 08:37:18 +0200
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-06-25 12:22:17 +0200
commit5804d8437b26f838fbad66dd7b6ac58bd04c1118 (patch)
tree01db87f2a00dda60e9a642b083acdacbc00bc65b
parentbd89147c9cf4df8fdc1cd2757a86f03f197a1862 (diff)
downloadepiphany-5804d8437b26f838fbad66dd7b6ac58bd04c1118.tar.gz
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.
-rw-r--r--src/ephy-navigation-history-action.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ephy-navigation-history-action.c b/src/ephy-navigation-history-action.c
index b03dad11f..fe56b0321 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 */