diff options
author | LemonBoy <thatlemon@gmail.com> | 2018-01-24 10:47:40 +0100 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2018-01-24 10:47:40 +0100 |
commit | b0b40be82e046785562fdb18dca3b1afb1b08a2b (patch) | |
tree | 57b2cff9c417f2091956f76ed8d343df86634b0b /src | |
parent | 474ee8ee70c9ff9c69487746a9740355f38a01b2 (diff) | |
download | irssi-b0b40be82e046785562fdb18dca3b1afb1b08a2b.zip |
Deprecate gslist_remove_string
It is not used anymore and it leaks memory.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/misc.h b/src/core/misc.h index 689cf5c2..a46a1432 100644 --- a/src/core/misc.h +++ b/src/core/misc.h @@ -21,7 +21,7 @@ GSList *gslist_find_string(GSList *list, const char *key); GSList *gslist_find_icase_string(GSList *list, const char *key); GList *glist_find_string(GList *list, const char *key); GList *glist_find_icase_string(GList *list, const char *key); -GSList *gslist_remove_string (GSList *list, const char *str); +GSList *gslist_remove_string (GSList *list, const char *str) G_GNUC_DEPRECATED; GSList *gslist_delete_string (GSList *list, const char *str, GDestroyNotify free_func); void gslist_free_full (GSList *list, GDestroyNotify free_func); |