Implement midori_browser_get_proxy_items

This supersedes midori_browser_get_proxy_array as a means to
access the KatzeItem* items. The new name is clearer.
This commit is contained in:
Christian Dywan 2010-04-25 18:20:19 +02:00
parent 88e1dc22c9
commit 9d3c884194
2 changed files with 24 additions and 1 deletions

View file

@ -7614,7 +7614,7 @@ midori_browser_get_current_tab (MidoriBrowser* browser)
} }
/** /**
* midori_browser_get_proxy_array: * midori_browser_get_proxy_items:
* @browser: a #MidoriBrowser * @browser: a #MidoriBrowser
* *
* Retrieves a proxy array representing the respective proxy items * 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. * may release its reference at some point.
* *
* Return value: the proxy #KatzeArray * 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* KatzeArray*
midori_browser_get_proxy_array (MidoriBrowser* browser) midori_browser_get_proxy_array (MidoriBrowser* browser)

View file

@ -133,6 +133,9 @@ midori_browser_set_current_tab (MidoriBrowser* browser,
GtkWidget* GtkWidget*
midori_browser_get_current_tab (MidoriBrowser* browser); midori_browser_get_current_tab (MidoriBrowser* browser);
KatzeArray*
midori_browser_get_proxy_items (MidoriBrowser* browser);
KatzeArray* KatzeArray*
midori_browser_get_proxy_array (MidoriBrowser* browser); midori_browser_get_proxy_array (MidoriBrowser* browser);