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:
parent
88e1dc22c9
commit
9d3c884194
2 changed files with 24 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue