From 1e26df3c28777d8e41aabcec38bbed0e0a470e0b Mon Sep 17 00:00:00 2001 From: Denis Gorodnichev Date: Tue, 21 Feb 2023 18:05:51 +0200 Subject: [PATCH] expose mate_panel_applet_settings_new to introspection add "transfer full" annotation to make this method available throught introspection --- libmate-panel-applet/mate-panel-applet-gsettings.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libmate-panel-applet/mate-panel-applet-gsettings.h b/libmate-panel-applet/mate-panel-applet-gsettings.h index 0dbbdb016..152a73d21 100644 --- a/libmate-panel-applet/mate-panel-applet-gsettings.h +++ b/libmate-panel-applet/mate-panel-applet-gsettings.h @@ -35,7 +35,15 @@ G_BEGIN_DECLS +/** + * mate_panel_applet_settings_new: + * @applet A #MatePanelApplet + * @schema applet's schema id + * + * Returns: (transfer full): a #GSettings. free when you used it + */ GSettings* mate_panel_applet_settings_new (MatePanelApplet *applet, gchar *schema); + GList* mate_panel_applet_settings_get_glist (GSettings *settings, gchar *key); void mate_panel_applet_settings_set_glist (GSettings *settings, gchar *key, GList *list); GSList* mate_panel_applet_settings_get_gslist (GSettings *settings, gchar *key);