diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 85b7d8f8..12227714 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -7614,7 +7614,7 @@ midori_browser_get_current_tab (MidoriBrowser* browser) } /** - * midori_browser_get_proxy_array: + * midori_browser_get_proxy_items: * @browser: a #MidoriBrowser * * Retrieves a proxy array representing the respective proxy items @@ -7626,6 +7626,26 @@ midori_browser_get_current_tab (MidoriBrowser* browser) * may release its reference at some point. * * Return value: the proxy #KatzeArray + * + * Since: 0.2.5 + **/ +KatzeArray* +midori_browser_get_proxy_items (MidoriBrowser* browser) +{ + g_return_val_if_fail (MIDORI_IS_BROWSER (browser), NULL); + + return browser->proxy_array; +} + +/** + * midori_browser_get_proxy_array: + * @browser: a #MidoriBrowser + * + * Retrieves a proxy array representing the respective proxy items. + * + * Return value: the proxy #KatzeArray + * + * Deprecated: 0.2.5: Use midori_browser_get_proxy_item instead. **/ KatzeArray* midori_browser_get_proxy_array (MidoriBrowser* browser) diff --git a/midori/midori-browser.h b/midori/midori-browser.h index 1b3d8734..2bd4c432 100644 --- a/midori/midori-browser.h +++ b/midori/midori-browser.h @@ -133,6 +133,9 @@ midori_browser_set_current_tab (MidoriBrowser* browser, GtkWidget* midori_browser_get_current_tab (MidoriBrowser* browser); +KatzeArray* +midori_browser_get_proxy_items (MidoriBrowser* browser); + KatzeArray* midori_browser_get_proxy_array (MidoriBrowser* browser);