summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet-gsettings.h
diff options
context:
space:
mode:
authorDenis Gorodnichev <[email protected]>2023-05-17 06:56:21 +0300
committerGitHub <[email protected]>2023-05-17 03:56:21 +0000
commit277418cea7b011520df9759301d416cd51709564 (patch)
tree11b412b6aab737b8f22146ca67deac3e56737044 /libmate-panel-applet/mate-panel-applet-gsettings.h
parent1a16bc12de9b45637445ca53ec81cfe0a26c831f (diff)
downloadmate-panel-277418cea7b011520df9759301d416cd51709564.tar.bz2
mate-panel-277418cea7b011520df9759301d416cd51709564.tar.xz
tell dconf-edit about relocatable schemas (#1355)
* tell dconf-edit about relocatable schemas * self fix for incorrect and duplicated records remove duplicated schemas for currect path remove incorrect schemas for current path * remove clock applet hack * expose mate_panel_applet_settings_new to introspection add "transfer full" annotation to make this method available throught introspection
Diffstat (limited to 'libmate-panel-applet/mate-panel-applet-gsettings.h')
-rw-r--r--libmate-panel-applet/mate-panel-applet-gsettings.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libmate-panel-applet/mate-panel-applet-gsettings.h b/libmate-panel-applet/mate-panel-applet-gsettings.h
index 0dbbdb01..152a73d2 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);