From be5124c5764727f41b6583e5bc9b377a69fd5c7c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 04 Nov 2017 18:32:29 -0400 Subject: about:profiles: Implement removal --- (limited to 'src/schemes/about/profiles.c') diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c index 99f63fe..3fc5fd9 100644 --- a/src/schemes/about/profiles.c +++ b/src/schemes/about/profiles.c @@ -112,7 +112,7 @@ edit_profiles(MqProfiles *profiles, GHashTable *query) g_free(input_key); } else if (g_str_has_prefix(key->data, "delete_")) { id = (gchar *) key->data + strlen("delete_"); - // mq_profiles_delete(profiles, id); + mq_profiles_remove(profiles, id); } else if (g_str_has_prefix(key->data, "default_")) { id = (gchar *) key->data + strlen("default_"); mq_profiles_set_default(profiles, id); -- cgit v0.9.1