Make purple_history_manager_{startup,shutdown} public

Tue, 24 Oct 2023 01:22:15 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 24 Oct 2023 01:22:15 -0500
changeset 42389
6d089b14f498
parent 42388
e0f4a672f85d
child 42390
c2cd0378e212

Make purple_history_manager_{startup,shutdown} public

It's used in the purple-history executable, so it's not private.

Testing Done:
Compiled only.

Bugs closed: PIDGIN-17838

Reviewed at https://reviews.imfreedom.org/r/2690/

libpurple/purplehistorymanager.h file | annotate | diff | comparison | revisions
libpurple/purpleprivate.h file | annotate | diff | comparison | revisions
--- a/libpurple/purplehistorymanager.h	Tue Oct 24 01:04:19 2023 -0500
+++ b/libpurple/purplehistorymanager.h	Tue Oct 24 01:22:15 2023 -0500
@@ -71,6 +71,26 @@
 typedef void (*PurpleHistoryManagerForeachFunc)(PurpleHistoryAdapter *adapter, gpointer data);
 
 /**
+ * purple_history_manager_startup:
+ *
+ * Starts up the history manager by creating the default instance.
+ *
+ * Since: 3.0.0
+ */
+PURPLE_AVAILABLE_IN_3_0
+void purple_history_manager_startup(void);
+
+/**
+ * purple_history_manager_shutdown:
+ *
+ * Shuts down the history manager by destroying the default instance.
+ *
+ * Since: 3.0.0
+ */
+PURPLE_AVAILABLE_IN_3_0
+void purple_history_manager_shutdown(void);
+
+/**
  * purple_history_manager_get_default:
  *
  * Gets the default #PurpleHistoryManager instance.
@@ -93,7 +113,7 @@
  * Since: 3.0.0
  */
 PURPLE_AVAILABLE_IN_3_0
- PurpleHistoryAdapter *purple_history_manager_get_active(PurpleHistoryManager *manager);
+PurpleHistoryAdapter *purple_history_manager_get_active(PurpleHistoryManager *manager);
 
  /**
  * purple_history_manager_set_active:
--- a/libpurple/purpleprivate.h	Tue Oct 24 01:04:19 2023 -0500
+++ b/libpurple/purpleprivate.h	Tue Oct 24 01:22:15 2023 -0500
@@ -270,24 +270,6 @@
 gboolean purple_history_adapter_deactivate(PurpleHistoryAdapter *adapter, GError **error);
 
 /**
- * purple_history_manager_startup:
- *
- * Starts up the history manager by creating the default instance.
- *
- * Since: 3.0.0
- */
-void purple_history_manager_startup(void);
-
-/**
- * purple_history_manager_shutdown:
- *
- * Shuts down the history manager by destroying the default instance.
- *
- * Since: 3.0.0
- */
-void purple_history_manager_shutdown(void);
-
-/**
  * purple_notification_manager_startup:
  *
  * Starts up the notification manager by creating the default instance.

mercurial