pidgin.next.minor: 123d615d: Patch from fqueze to add API for setting...
datallah at pidgin.im
datallah at pidgin.im
Mon Jan 5 22:50:57 EST 2009
-----------------------------------------------------------------
Revision: 123d615deaa8daeeea7d7c341a87eab4e83a7958
Ancestor: 13b7de74e7154a98a5c09bf0c56e9498389318f7
Author: datallah at pidgin.im
Date: 2009-01-06T03:46:52
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/123d615deaa8daeeea7d7c341a87eab4e83a7958
Modified files:
ChangeLog.API libpurple/proxy.c libpurple/proxy.h
ChangeLog:
Patch from fqueze to add API for setting the global proxy settings. Fixes #7610.
-------------- next part --------------
============================================================
--- ChangeLog.API 7a96ae8cdf15311e69a582ae065d66dcdfcde44e
+++ ChangeLog.API e75995d45bcd445e8526f53539920d9a4456ccda
@@ -22,6 +22,7 @@ version 2.6.0 (??/??/????):
* purple_request_field_get_ui_data
* purple_request_field_set_ui_data
* purple_network_force_online
+ * purple_global_proxy_set_info
Deprecated:
* purple_buddy_get_local_alias
============================================================
--- libpurple/proxy.c 112accff674b00f35bfa8e46e367930b98beb6cc
+++ libpurple/proxy.c 3341c818752a06b98f7c11592547f3d24d776c08
@@ -207,6 +207,16 @@ purple_global_proxy_get_info(void)
return global_proxy_info;
}
+void
+purple_global_proxy_set_info(PurpleProxyInfo *info)
+{
+ g_return_if_fail(info != NULL);
+
+ purple_proxy_info_destroy(global_proxy_info);
+
+ global_proxy_info = info;
+}
+
static PurpleProxyInfo *
purple_gnome_proxy_get_info(void)
{
============================================================
--- libpurple/proxy.h ebfb09531743cf7a5efbf9127d6b9bec5460a6bc
+++ libpurple/proxy.h 177eb80534fd4c1853983b712b192702f2279dc3
@@ -186,6 +186,13 @@ PurpleProxyInfo *purple_global_proxy_get
*/
PurpleProxyInfo *purple_global_proxy_get_info(void);
+/**
+ * Set purple's global proxy information.
+ *
+ * @param info The proxy information.
+ */
+void purple_global_proxy_set_info(PurpleProxyInfo *info);
+
/*@}*/
/**************************************************************************/
More information about the Commits
mailing list