Skip to content

Commit

Permalink
expose mate_panel_applet_settings_new to introspection
Browse files Browse the repository at this point in the history
add "transfer full" annotation to make this method available throught
introspection
  • Loading branch information
dnk committed Feb 21, 2023
1 parent 8197cf4 commit a7927f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libmate-panel-applet/mate-panel-applet-gsettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a7927f8

Please sign in to comment.