libpurple/core.h

changeset 43253
0cc00d7d6215
parent 43054
ccd071e7cd83
--- a/libpurple/core.h	Tue May 13 16:22:50 2025 -0500
+++ b/libpurple/core.h	Wed May 14 01:54:28 2025 -0500
@@ -129,6 +129,19 @@
 gpointer purple_core_get_settings_backend(void);
 
 /**
+ * purple_core_new_settings:
+ * @schema_id: the id of the schema
+ *
+ * Creates a new settings object using the preferred backend.
+ *
+ * Returns: (transfer full): The new instance.
+ *
+ * Since: 3.0
+ */
+PURPLE_AVAILABLE_IN_3_0
+GSettings *purple_core_new_settings(const char *schema_id);
+
+/**
  * purple_core_get_ui:
  *
  * Gets the [class@Purple.Ui] that is running.

mercurial