pidgin/pidgin

5f034a5261c3
Parents 1dda9fb5d8ae
Children 862153de4f30
remove purple_network_get_handle as it is no longer used

Testing Done:
Compiled

Reviewed at https://reviews.imfreedom.org/r/1112/
--- a/ChangeLog.API Thu Oct 28 23:26:03 2021 -0500
+++ b/ChangeLog.API Thu Oct 28 23:26:57 2021 -0500
@@ -439,6 +439,7 @@
* purple_network_convert_idn_to_ascii. Use g_hostname_to_ascii,
instead.
* purple_network_get_all_local_system_ips. Use libnice instead.
+ * purple_network_get_handle
* purple_network_get_my_ip
* purple_network_get_local_system_ip. Use libnice instead.
* purple_network_get_port_from_fd
--- a/libpurple/network.c Thu Oct 28 23:26:03 2021 -0500
+++ b/libpurple/network.c Thu Oct 28 23:26:57 2021 -0500
@@ -283,14 +283,6 @@
return turn_ip;
}
-void *
-purple_network_get_handle(void)
-{
- static int handle;
-
- return &handle;
-}
-
static void
purple_network_upnp_mapping_remove_cb(gboolean success, gpointer data)
{
@@ -415,8 +407,6 @@
nat_pmp_port_mappings = g_hash_table_new(g_direct_hash, g_direct_equal);
}
-
-
void
purple_network_uninit(void)
{
--- a/libpurple/network.h Thu Oct 28 23:26:03 2021 -0500
+++ b/libpurple/network.h Thu Oct 28 23:26:57 2021 -0500
@@ -118,15 +118,6 @@
void purple_network_force_online(void);
/**
- * purple_network_get_handle:
- *
- * Get the handle for the network system
- *
- * Returns: the handle to the network system
- */
-void *purple_network_get_handle(void);
-
-/**
* purple_network_set_stun_server:
* @stun_server: The host name of the STUN server to set
*