libpurple/purpleprotocolmanager.h

changeset 43038
82d93d93f1d2
parent 43034
b45543113d52
--- a/libpurple/purpleprotocolmanager.h	Fri Nov 01 00:41:43 2024 -0500
+++ b/libpurple/purpleprotocolmanager.h	Fri Nov 01 00:55:45 2024 -0500
@@ -62,18 +62,6 @@
  */
 
 /**
- * PurpleProtocolManagerForeachFunc:
- * @protocol: The #PurpleProtocol instance.
- * @data: User supplied data.
- *
- * A function to be used as a callback with purple_protocol_manager_foreach().
- *
- * Since: 3.0
- */
-PURPLE_AVAILABLE_TYPE_IN_3_0
-typedef void (*PurpleProtocolManagerForeachFunc)(PurpleProtocol *protocol, gpointer data);
-
-/**
  * purple_protocol_manager_add:
  * @manager: The #PurpleProtocolManager instance.
  * @protocol: The #PurpleProtocol to add.
@@ -102,42 +90,6 @@
 PurpleProtocolManager *purple_protocol_manager_get_default(void);
 
 /**
- * purple_protocol_manager_register:
- * @manager: The #PurpleProtocolManager instance.
- * @protocol: The #PurpleProtocol to register.
- * @error: Return address for a #GError, or %NULL.
- *
- * Registers @protocol with @manager.
- *
- * Returns: %TRUE if @protocol was successfully registered with @manager,
- *          %FALSE otherwise.
- *
- * Since: 3.0
- *
- * Deprecated: 3.0
- */
-PURPLE_DEPRECATED_FOR(purple_protocol_manager_add)
-gboolean purple_protocol_manager_register(PurpleProtocolManager *manager, PurpleProtocol *protocol, GError **error);
-
-/**
- * purple_protocol_manager_unregister:
- * @manager: The #PurpleProtocolManager instance.
- * @protocol: The #PurpleProtocol to unregister.
- * @error: Return address for a #GError, or %NULL.
- *
- * Unregisters @protocol from @manager.
- *
- * Returns: %TRUE if @protocol was successfully unregistered from @manager,
- *          %FALSE otherwise.
- *
- * Since: 3.0
- *
- * Deprecated: 3.0
- */
-PURPLE_DEPRECATED_FOR(purple_protocol_manager_remove)
-gboolean purple_protocol_manager_unregister(PurpleProtocolManager *manager, PurpleProtocol *protocol, GError **error);
-
-/**
  * purple_protocol_manager_find:
  * @manager: The #PurpleProtocolManager instance.
  * @id: The id of the #PurpleProtocol to find.
@@ -152,38 +104,6 @@
 PurpleProtocol *purple_protocol_manager_find(PurpleProtocolManager *manager, const gchar *id);
 
 /**
- * purple_protocol_manager_foreach:
- * @manager: The #PurpleProtocolManager instance.
- * @func: (scope call): The #PurpleProtocolManagerForeachFunc to call.
- * @data: User data to pass to @func.
- *
- * Calls @func for each #PurpleProtocol that @manager knows about.
- *
- * Since: 3.0
- *
- * Deprecated: 3.0
- */
-PURPLE_DEPRECATED
-void purple_protocol_manager_foreach(PurpleProtocolManager *manager, PurpleProtocolManagerForeachFunc func, gpointer data);
-
-/**
- * purple_protocol_manager_get_all:
- * @manager: The #PurpleProtocolManager instance.
- *
- * Gets a sorted list of all #PurpleProtocols that are currently registered in
- * @manager.
- *
- * Returns: (transfer container) (element-type PurpleProtocol): The list
- *          containing all of the #PurpleProtocols registered with @manager.
- *
- * Since: 3.0
- *
- * Deprecated: 3.0
- */
-PURPLE_DEPRECATED
-GList *purple_protocol_manager_get_all(PurpleProtocolManager *manager);
-
-/**
  * purple_protocol_manager_remove:
  * @manager: The #PurpleProtocolManager instance.
  * @protocol: The #PurpleProtocol to remove.

mercurial