diff options
author | rbuj <[email protected]> | 2020-02-28 09:07:37 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-03-14 13:14:35 +0100 |
commit | 28a6895df5fa4a1a60c794ed5e85e31d764e85e7 (patch) | |
tree | f9b5d3eae40ecb5bd8eb357c10ce8458b2faa7f9 /pluma/pluma-history-entry.c | |
parent | d265d00b72fc9a7fb126079780303df9ea217a29 (diff) | |
download | pluma-28a6895df5fa4a1a60c794ed5e85e31d764e85e7.tar.bz2 pluma-28a6895df5fa4a1a60c794ed5e85e31d764e85e7.tar.xz |
Remove warnings: cast between incompatible function types
Diffstat (limited to 'pluma/pluma-history-entry.c')
-rw-r--r-- | pluma/pluma-history-entry.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pluma/pluma-history-entry.c b/pluma/pluma-history-entry.c index 13c853e4..3dacc123 100644 --- a/pluma/pluma-history-entry.c +++ b/pluma/pluma-history-entry.c @@ -226,8 +226,7 @@ pluma_history_entry_save_history (PlumaHistoryEntry *entry) entry->priv->history_id, settings_items); - g_slist_foreach (settings_items, (GFunc) g_free, NULL); - g_slist_free (settings_items); + g_slist_free_full (settings_items, g_free); } static gboolean @@ -373,8 +372,7 @@ pluma_history_entry_load_history (PlumaHistoryEntry *entry) -1); } - g_slist_foreach (settings_items, (GFunc) g_free, NULL); - g_slist_free (settings_items); + g_slist_free_full (settings_items, g_free); } void |