pidgin/pidgin

Make purple_proxy_get_handle private

15 months ago, Gary Kramlich
ecb08d1c66eb
Parents af20db93f2c2
Children 873811ad2eab
Make purple_proxy_get_handle private

This handle is only used internally to the proxy code, so remove it from the
public api.

Testing Done:
Compiled

Reviewed at https://reviews.imfreedom.org/r/2220/
--- a/ChangeLog.API Tue Jan 24 15:40:35 2023 -0600
+++ b/ChangeLog.API Sun Jan 29 12:04:06 2023 -0600
@@ -678,6 +678,7 @@
* purple_proxy_connect
* purple_proxy_connect_cancel
* purple_proxy_connect_cancel_with_handle
+ * purple_proxy_get_handle
* purple_prefs_get_ui_ops
* purple_prefs_set_generic
* purple_prefs_set_ui_ops
--- a/libpurple/proxy.c Tue Jan 24 15:40:35 2023 -0600
+++ b/libpurple/proxy.c Sun Jan 29 12:04:06 2023 -0600
@@ -260,7 +260,7 @@
purple_proxy_info_set_password(info, value);
}
-void *
+static void *
purple_proxy_get_handle(void)
{
static int handle;
--- a/libpurple/proxy.h Tue Jan 24 15:40:35 2023 -0600
+++ b/libpurple/proxy.h Sun Jan 29 12:04:06 2023 -0600
@@ -61,15 +61,6 @@
/**************************************************************************/
/**
- * purple_proxy_get_handle:
- *
- * Returns the proxy subsystem handle.
- *
- * Returns: The proxy subsystem handle.
- */
-void *purple_proxy_get_handle(void);
-
-/**
* purple_proxy_init:
*
* Initializes the proxy subsystem.