Commit e273d9d6 authored by Sean Davis's avatar Sean Davis 🕶

Add remaining properties

parent 8d755863
Pipeline #1075 passed with stages
in 4 minutes and 35 seconds
......@@ -787,6 +787,35 @@ sn_config_get_known_legacy_items (SnConfig *config)
static void
sn_config_collect_hidden_legacy_items (gpointer key,
gpointer value,
gpointer array)
GList *list = (GList *)array;
gchar *item = g_strdup ((gchar *)value);
list = g_list_prepend (list, item);
array = (gpointer)list;
sn_config_get_hidden_legacy_items (SnConfig *config)
GList *list = NULL;
g_return_val_if_fail (XFCE_IS_SN_CONFIG (config), NULL);
g_hash_table_foreach (config->hidden_legacy_items, sn_config_collect_hidden_legacy_items, list);
return list;
sn_config_add_known_item (SnConfig *config,
const gchar *name)
......@@ -84,6 +84,7 @@ void sn_config_add_known_item (SnConfig
const gchar *name);
GList *sn_config_get_known_legacy_items (SnConfig *config);
GList *sn_config_get_hidden_legacy_items (SnConfig *config);
void sn_config_add_known_legacy_item (SnConfig *config,
const gchar *name);
This diff is collapsed.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment