diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2012-06-22 14:37:18 +0800 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2012-06-25 18:22:17 +0800 |
commit | 5804d8437b26f838fbad66dd7b6ac58bd04c1118 (patch) | |
tree | 01db87f2a00dda60e9a642b083acdacbc00bc65b | |
parent | bd89147c9cf4df8fdc1cd2757a86f03f197a1862 (diff) | |
download | gsoc2013-epiphany-5804d8437b26f838fbad66dd7b6ac58bd04c1118.tar gsoc2013-epiphany-5804d8437b26f838fbad66dd7b6ac58bd04c1118.tar.gz gsoc2013-epiphany-5804d8437b26f838fbad66dd7b6ac58bd04c1118.tar.bz2 gsoc2013-epiphany-5804d8437b26f838fbad66dd7b6ac58bd04c1118.tar.lz gsoc2013-epiphany-5804d8437b26f838fbad66dd7b6ac58bd04c1118.tar.xz gsoc2013-epiphany-5804d8437b26f838fbad66dd7b6ac58bd04c1118.tar.zst gsoc2013-epiphany-5804d8437b26f838fbad66dd7b6ac58bd04c1118.zip |
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.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 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 */ |