[gnumeric] Compilation: use g_[s]list_free_full, not go_[s]list_free_custom.



commit 4fcf3fea93b943d9191d8e974ace72137e419a71
Author: Morten Welinder <terra gnome org>
Date:   Thu Nov 3 14:38:09 2011 -0400

    Compilation: use g_[s]list_free_full, not go_[s]list_free_custom.

 plugins/applix/applix-read.c            |    4 ++--
 plugins/excel/ms-chart.c                |    2 +-
 plugins/excel/ms-excel-read.c           |    2 +-
 plugins/excel/ms-excel-write.c          |    2 +-
 plugins/excelplugins/excelplugins.c     |    2 +-
 plugins/fn-lookup/functions.c           |    4 ++--
 plugins/openoffice/openoffice-read.c    |   18 +++++++++---------
 plugins/openoffice/openoffice-write.c   |    4 ++--
 plugins/python-loader/py-command-line.c |    2 +-
 src/application.c                       |    2 +-
 src/colrow.c                            |    2 +-
 src/colrow.h                            |    4 ++--
 src/commands.c                          |   18 +++++++++---------
 src/dialogs/dialog-about.c              |    4 ++--
 src/dialogs/dialog-function-select.c    |    2 +-
 src/dialogs/dialog-plugin-manager.c     |   10 +++++-----
 src/dialogs/dialog-preferences.c        |    4 ++--
 src/dialogs/dialog-printer-setup.c      |    2 +-
 src/dialogs/dialog-scenarios.c          |    2 +-
 src/dialogs/dialog-sheet-order.c        |   14 +++++++-------
 src/dialogs/dialog-stf-csv-page.c       |    2 +-
 src/file-autoft.c                       |    2 +-
 src/format-template.c                   |    2 +-
 src/gnm-pane.c                          |    4 ++--
 src/gnm-plugin.c                        |    6 +++---
 src/gnumeric-conf.c                     |    6 +++---
 src/gui-util.c                          |    4 ++--
 src/libgnumeric.c                       |    2 +-
 src/print-info.c                        |    8 ++++----
 src/print.c                             |    2 +-
 src/ranges.h                            |    2 +-
 src/rendered-value.c                    |    2 +-
 src/sheet-control-gui.c                 |    4 ++--
 src/sheet-object-graph.c                |    2 +-
 src/sheet-object-image.c                |    2 +-
 src/sheet.c                             |    6 +++---
 src/ssconvert.c                         |    4 ++--
 src/stf-parse.c                         |    4 ++--
 src/tools/analysis-tools.c              |    2 +-
 src/tools/dao.c                         |    2 +-
 src/tools/data-shuffling.c              |    2 +-
 src/tools/filter.c                      |    4 ++--
 src/tools/gnm-solver.c                  |    2 +-
 src/tools/scenarios.c                   |    2 +-
 src/value.c                             |    2 +-
 src/wbc-gtk.c                           |    4 ++--
 src/widgets/gnumeric-expr-entry.c       |    4 ++--
 src/widgets/widget-font-selector.c      |    2 +-
 48 files changed, 97 insertions(+), 97 deletions(-)
---
diff --git a/plugins/applix/applix-read.c b/plugins/applix/applix-read.c
index 3e08c59..b6512bd 100644
--- a/plugins/applix/applix-read.c
+++ b/plugins/applix/applix-read.c
@@ -1681,8 +1681,8 @@ applix_read (GOIOContext *io_context, WorkbookView *wb_view, GsfInput *src)
 			       state.real_names,
 			       GO_CMD_CONTEXT (io_context));
 	g_slist_free (renamed_sheets);
-	go_slist_free_custom (state.std_names, g_free);
-	go_slist_free_custom (state.real_names, g_free);
+	g_slist_free_full (state.std_names, g_free);
+	g_slist_free_full (state.real_names, g_free);
 
 	/* Release the shared expressions and styles */
 	g_hash_table_foreach_remove (state.exprs, &cb_remove_texpr, NULL);
diff --git a/plugins/excel/ms-chart.c b/plugins/excel/ms-chart.c
index 3589f3f..9058502 100644
--- a/plugins/excel/ms-chart.c
+++ b/plugins/excel/ms-chart.c
@@ -5998,7 +5998,7 @@ ms_excel_chart_write (ExcelWriteState *ewb, SheetObject *so)
 		g_ptr_array_foreach (state.values[i], (GFunc) g_free, NULL);
 		g_ptr_array_free (state.values[i], TRUE);
 	}
-	go_slist_free_custom (state.extra_objects, g_object_unref);
+	g_slist_free_full (state.extra_objects, g_object_unref);
 	if (state.line_plot)
 		g_object_unref (state.line_plot);
 
diff --git a/plugins/excel/ms-excel-read.c b/plugins/excel/ms-excel-read.c
index 74244ec..04c8aa8 100644
--- a/plugins/excel/ms-excel-read.c
+++ b/plugins/excel/ms-excel-read.c
@@ -7351,6 +7351,6 @@ excel_read_cleanup (void)
 	g_hash_table_destroy (excel_func_by_name);
 	excel_func_by_name = NULL;
 
-	go_slist_free_custom (formats, (GFreeFunc)go_format_unref);
+	g_slist_free_full (formats, (GDestroyNotify)go_format_unref);
 	formats = NULL;
 }
diff --git a/plugins/excel/ms-excel-write.c b/plugins/excel/ms-excel-write.c
index df4e7f8..8b0f124 100644
--- a/plugins/excel/ms-excel-write.c
+++ b/plugins/excel/ms-excel-write.c
@@ -5646,7 +5646,7 @@ excel_sheet_free (ExcelWriteSheet *esheet)
 	g_slist_free (esheet->graphs);
 	g_hash_table_destroy (esheet->commentshash);
 	g_hash_table_destroy (esheet->widget_macroname);
-	go_slist_free_custom (esheet->blips, (GFreeFunc) blipinf_free);
+	g_slist_free_full (esheet->blips, (GDestroyNotify)blipinf_free);
 	style_list_free (esheet->conditions);
 	style_list_free (esheet->hlinks);
 	style_list_free (esheet->validations);
diff --git a/plugins/excelplugins/excelplugins.c b/plugins/excelplugins/excelplugins.c
index e6a81df..2c0b373 100644
--- a/plugins/excelplugins/excelplugins.c
+++ b/plugins/excelplugins/excelplugins.c
@@ -1055,7 +1055,7 @@ go_plugin_shutdown (GOPlugin *plugin, GOCmdContext *cc)
 		xll_function_info_map = NULL;
 	}
 
-	go_slist_free_custom (XLLs, free_XLL);
+	g_slist_free_full (XLLs, free_XLL);
 	XLLs = NULL;
 
 	if (register_actual_excel4v)
diff --git a/plugins/fn-lookup/functions.c b/plugins/fn-lookup/functions.c
index 9fc3993..4c4e2fa 100644
--- a/plugins/fn-lookup/functions.c
+++ b/plugins/fn-lookup/functions.c
@@ -1736,14 +1736,14 @@ gnumeric_array (GnmFuncEvalInfo *ei, int argc, GnmExprConstPtr const *argv)
 		 argc, argv, FALSE, CELL_ITER_ALL);
 
 	if (val != NULL) {
-		go_slist_free_custom (list, (GFreeFunc) value_release);
+		g_slist_free_full (list, (GDestroyNotify)value_release);
 		return val;
 	}
 	list = g_slist_reverse (list);
 	len = g_slist_length (list);
 
 	if (len == 0) {
-		go_slist_free_custom (list, (GFreeFunc) value_release);
+		g_slist_free_full (list, (GDestroyNotify)value_release);
 		return value_new_error_VALUE (ei->pos);
 	}
 
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 5630529..f48cdcf 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -4679,9 +4679,9 @@ odf_number_style_end (GsfXMLIn *xin, G_GNUC_UNUSED GsfXMLBlob *blob)
 	g_string_free (state->cur_format.accum, TRUE);
 	state->cur_format.accum = NULL;
 	state->cur_format.name = NULL;
-	go_slist_free_custom (state->conditions, g_free);
+	g_slist_free_full (state->conditions, g_free);
 	state->conditions = NULL;
-	go_slist_free_custom (state->cond_formats, g_free);
+	g_slist_free_full (state->cond_formats, g_free);
 	state->cond_formats = NULL;
 }
 
@@ -4716,7 +4716,7 @@ odf_get_paper_size (gnm_float width, gnm_float height, gint orient)
 			break;
 		}
 	}
-	go_list_free_custom (plist, (GFreeFunc)gtk_paper_size_free);
+	g_list_free_full (plist, (GDestroyNotify)gtk_paper_size_free);
 
 	if (size != NULL)
 		return size;
@@ -5799,7 +5799,7 @@ oo_prop_free (OOProp *prop)
 static void
 oo_prop_list_free (GSList *props)
 {
-	go_slist_free_custom (props, (GFreeFunc) oo_prop_free);
+	g_slist_free_full (props, (GDestroyNotify)oo_prop_free);
 }
 
 static void
@@ -7694,7 +7694,7 @@ oo_plot_area_end (GsfXMLIn *xin, G_GNUC_UNUSED GsfXMLBlob *blob)
 	OOParseState *state = (OOParseState *)xin->user_state;
 	if (state->chart.plot_type == OO_PLOT_STOCK) {
 		odf_create_stock_plot (xin);
-		go_slist_free_custom (state->chart.list, g_free);
+		g_slist_free_full (state->chart.list, g_free);
 		state->chart.list = NULL;
 	} else {
 		if (state->chart.series_count == 0 && state->chart.series == NULL)
@@ -10756,7 +10756,7 @@ openoffice_file_open (G_GNUC_UNUSED GOFileOpener const *fo, GOIOContext *io_cont
 			g_slist_foreach (state.settings.stack,
 					 (GFunc)unset_gvalue,
 					 NULL);
-			go_slist_free_custom (state.settings.stack, g_free);
+			g_slist_free_full (state.settings.stack, g_free);
 			state.settings.stack = NULL;
 		}
 
@@ -10801,8 +10801,8 @@ openoffice_file_open (G_GNUC_UNUSED GOFileOpener const *fo, GOIOContext *io_cont
 	g_hash_table_destroy (state.styles.cell_time);
 	g_hash_table_destroy (state.styles.master_pages);
 	g_hash_table_destroy (state.styles.page_layouts);
-	go_slist_free_custom (state.chart.saved_graph_styles,
-			      (GFreeFunc) g_hash_table_destroy);
+	g_slist_free_full (state.chart.saved_graph_styles,
+			   (GDestroyNotify)g_hash_table_destroy);
 	g_hash_table_destroy (state.chart.graph_styles);
 	g_hash_table_destroy (state.chart.hatches);
 	g_hash_table_destroy (state.chart.dash_styles);
@@ -10813,7 +10813,7 @@ openoffice_file_open (G_GNUC_UNUSED GOFileOpener const *fo, GOIOContext *io_cont
 	g_hash_table_destroy (state.validations);
 	g_hash_table_destroy (state.strings);
 	g_hash_table_destroy (state.chart.arrow_markers);
-	go_slist_free_custom (state.span_style_stack, g_free);
+	g_slist_free_full (state.span_style_stack, g_free);
 	g_object_unref (contents);
 
 	g_object_unref (zip);
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index b4deb76..1354f7b 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -3576,7 +3576,7 @@ odf_write_sheet (GnmOOExport *state)
 		/* gsf_xml_out_end_element (state->xml);  */
 	}
 
-	go_slist_free_custom (sheet_merges, g_free);
+	g_slist_free_full (sheet_merges, g_free);
 	g_free (col_styles);
 
 }
@@ -5637,7 +5637,7 @@ odf_write_manifest (GnmOOExport *state, GsfOutput *child)
 
 	for (l = state->fill_image_files; l != NULL; l = l->next)
 		odf_file_entry (xml, "image/png", l->data);
-	go_slist_free_custom (state->fill_image_files, g_free);
+	g_slist_free_full (state->fill_image_files, g_free);
 	state->fill_image_files = NULL;
 
 	state->xml = NULL;
diff --git a/plugins/python-loader/py-command-line.c b/plugins/python-loader/py-command-line.c
index 5c4a107..3b4075a 100644
--- a/plugins/python-loader/py-command-line.c
+++ b/plugins/python-loader/py-command-line.c
@@ -137,7 +137,7 @@ gnm_py_command_line_finalize (GObject *obj)
 {
 	GnmPyCommandLine *cline = GNM_PY_COMMAND_LINE (obj);
 
-	go_list_free_custom (cline->history, g_free);
+	g_list_free_full (cline->history, g_free);
 	cline->history = NULL;
 
 	parent_class->finalize (obj);
diff --git a/src/application.c b/src/application.c
index 4fedbec..6210e83 100644
--- a/src/application.c
+++ b/src/application.c
@@ -601,7 +601,7 @@ gnm_app_history_get_list (int max_elements)
 		}
 	}
 
-	go_list_free_custom (items, (GFreeFunc)gtk_recent_info_unref);
+	g_list_free_full (items, (GDestroyNotify)gtk_recent_info_unref);
 	g_object_ref_sink (filter);
 	g_object_unref (filter);
 
diff --git a/src/colrow.c b/src/colrow.c
index b9bff8c..bc18227 100644
--- a/src/colrow.c
+++ b/src/colrow.c
@@ -352,7 +352,7 @@ colrow_set_single_state (ColRowState *state,
 ColRowStateList *
 colrow_state_list_destroy (ColRowStateList *list)
 {
-	go_slist_free_custom (list, g_free);
+	g_slist_free_full (list, g_free);
 	return NULL;
 }
 
diff --git a/src/colrow.h b/src/colrow.h
index dd9f515..e6a0c3f 100644
--- a/src/colrow.h
+++ b/src/colrow.h
@@ -94,7 +94,7 @@ gboolean colrow_foreach	   (ColRowCollection const *infos,
 
 void colrow_resize (ColRowCollection *infos, int size);
 
-#define colrow_index_list_destroy(l) go_list_free_custom ((l), g_free)
+#define colrow_index_list_destroy(l) g_list_free_full ((l), g_free)
 
 GString         *colrow_index_list_to_string (ColRowIndexList *list,
 					      gboolean is_cols,
@@ -133,7 +133,7 @@ void		 colrow_set_visibility		(Sheet *sheet, gboolean is_cols,
 						 gboolean visible, int first, int last);
 void		 colrow_get_global_outline	(Sheet const *sheet, gboolean is_cols, int depth,
 						 ColRowVisList	**show, ColRowVisList	**hide);
-#define colrow_vis_list_destroy(l) (go_slist_free_custom ((l), g_free), NULL)
+#define colrow_vis_list_destroy(l) (g_slist_free_full ((l), g_free), NULL)
 gint             colrow_vis_list_length         (ColRowVisList *list);
 void		 colrow_set_visibility_list	(Sheet *sheet, gboolean is_cols,
 						 gboolean visible,
diff --git a/src/commands.c b/src/commands.c
index dd8028a..b3bb834 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -2978,7 +2978,7 @@ cmd_paste_copy_impl (GnmCommand *cmd, WorkbookControl *wbc,
 	g_slist_foreach (me->pasted_objects,
 			 (GFunc)sheet_object_clear_sheet,
 			 NULL);
-	go_slist_free_custom (me->pasted_objects, (GFreeFunc)g_object_unref);
+	g_slist_free_full (me->pasted_objects, (GDestroyNotify)g_object_unref);
 	me->pasted_objects = NULL;
 	old_objects = get_new_objects (me->dst.sheet, NULL);
 
@@ -3024,7 +3024,7 @@ cmd_paste_copy_impl (GnmCommand *cmd, WorkbookControl *wbc,
 	 * We cannot use the random set of objects at the target location.
 	 * See http://bugzilla.gnome.org/show_bug.cgi?id=308300
 	 */
-	go_slist_free_custom (contents->objects, (GFreeFunc)g_object_unref);
+	g_slist_free_full (contents->objects, (GDestroyNotify)g_object_unref);
 	contents->objects = is_undo
 		? go_slist_map (me->orig_contents_objects,
 				(GOMapFunc)sheet_object_dup)
@@ -3075,8 +3075,8 @@ cmd_paste_copy_finalize (GObject *cmd)
 		cellregion_unref (me->contents);
 		me->contents = NULL;
 	}
-	go_slist_free_custom (me->pasted_objects, (GFreeFunc)g_object_unref);
-	go_slist_free_custom (me->orig_contents_objects, (GFreeFunc)g_object_unref);
+	g_slist_free_full (me->pasted_objects, (GDestroyNotify)g_object_unref);
+	g_slist_free_full (me->orig_contents_objects, (GDestroyNotify)g_object_unref);
 	gnm_command_finalize (cmd);
 }
 
@@ -4641,7 +4641,7 @@ static void
 cmd_objects_delete_finalize (GObject *cmd)
 {
 	CmdObjectsDelete *me = CMD_OBJECTS_DELETE (cmd);
-	go_slist_free_custom (me->objects, g_object_unref);
+	g_slist_free_full (me->objects, g_object_unref);
 	if (me->location) {
 		g_array_free (me->location, TRUE);
 		me->location = NULL;
@@ -4700,7 +4700,7 @@ cmd_objects_move (WorkbookControl *wbc, GSList *objects, GSList *anchors,
 	result = cmd_generic (wbc, name, undo, redo);
 
 	g_slist_free (objects);
-	go_slist_free_custom (anchors, g_free);
+	g_slist_free_full (anchors, g_free);
 
 	return result;
 }
@@ -5361,7 +5361,7 @@ cmd_analysis_tool_finalize (GObject *cmd)
 	if (me->old_contents)
 		cellregion_unref (me->old_contents);
 
-	go_slist_free_custom (me->newSheetObjects, g_object_unref);
+	g_slist_free_full (me->newSheetObjects, g_object_unref);
 
 	gnm_command_finalize (cmd);
 }
@@ -5647,9 +5647,9 @@ cmd_change_summary_finalize (GObject *cmd)
 {
 	CmdChangeMetaData *me = CMD_CHANGE_META_DATA (cmd);
 
-	go_slist_free_custom (me->changed_props, (GFreeFunc)gsf_doc_prop_free);
+	g_slist_free_full (me->changed_props, (GDestroyNotify)gsf_doc_prop_free);
 	me->changed_props = NULL;
-	go_slist_free_custom (me->removed_names, g_free);
+	g_slist_free_full (me->removed_names, g_free);
 	me->removed_names = NULL;
 
 	gnm_command_finalize (cmd);
diff --git a/src/dialogs/dialog-about.c b/src/dialogs/dialog-about.c
index 4160fc5..46a2c41 100644
--- a/src/dialogs/dialog-about.c
+++ b/src/dialogs/dialog-about.c
@@ -387,10 +387,10 @@ free_state (AboutState *state)
 		state->timer = 0;
 	}
 
-	go_list_free_custom (state->active, (GFreeFunc)free_renderer);
+	g_list_free_full (state->active, (GDestroyNotify)free_renderer);
 	state->active = NULL;
 
-	go_list_free_custom (state->waiting, (GFreeFunc)free_renderer);
+	g_list_free_full (state->waiting, (GDestroyNotify)free_renderer);
 	state->waiting = NULL;
 
 	g_free (state);
diff --git a/src/dialogs/dialog-function-select.c b/src/dialogs/dialog-function-select.c
index 7a4b761..e29a926 100644
--- a/src/dialogs/dialog-function-select.c
+++ b/src/dialogs/dialog-function-select.c
@@ -299,7 +299,7 @@ dialog_function_write_recent_func (FunctionSelectState *state, GnmFunc const *fd
 						      state->localized_function_names)));
 	}
 	gnm_conf_set_functionselector_recentfunctions (gconf_value_list);
-	go_slist_free_custom (gconf_value_list, g_free);
+	g_slist_free_full (gconf_value_list, g_free);
 }
 
 static gboolean
diff --git a/src/dialogs/dialog-plugin-manager.c b/src/dialogs/dialog-plugin-manager.c
index 5e91615..3e54cc8 100644
--- a/src/dialogs/dialog-plugin-manager.c
+++ b/src/dialogs/dialog-plugin-manager.c
@@ -254,7 +254,7 @@ pm_gui_load_directory_page (PluginManagerGUI *pm_gui)
 	if (plugin_path_env != NULL) {
 		plugin_dirs = go_strsplit_to_slist (plugin_path_env, G_SEARCHPATH_SEPARATOR);
 		pm_gui_load_directories (pm_gui, plugin_dirs, FALSE);
-		go_slist_free_custom (plugin_dirs, g_free);
+		g_slist_free_full (plugin_dirs, g_free);
 	}
 	pm_gui_load_directories (pm_gui, gnm_conf_get_plugins_extra_dirs (), TRUE);
 }
@@ -295,7 +295,7 @@ cb_pm_button_directory_add_clicked (PluginManagerGUI *pm_gui)
 			GO_SLIST_PREPEND (extra_dirs, path);
 
 			gnm_conf_set_plugins_extra_dirs (extra_dirs);
-			go_slist_free_custom (extra_dirs, g_free);
+			g_slist_free_full (extra_dirs, g_free);
 
 			pm_gui_load_directory_page (pm_gui);
 			cb_pm_button_rescan_directories_clicked (pm_gui);
@@ -338,7 +338,7 @@ cb_pm_button_directory_delete_clicked (PluginManagerGUI *pm_gui)
 		cb_pm_button_rescan_directories_clicked (pm_gui);
 	}
 
-	go_slist_free_custom (extra_dirs, g_free);
+	g_slist_free_full (extra_dirs, g_free);
 	g_free (dir_name);
 }
 
@@ -411,7 +411,7 @@ cb_pm_selection_changed (GtkTreeSelection *selection, PluginManagerGUI *pm_gui)
 					-1);
 			);
 		}
-		go_slist_free_custom (dep_ids, g_free);
+		g_slist_free_full (dep_ids, g_free);
 
 		gtk_tree_store_append (pm_gui->model_details, &iter2, &iter);
 		gtk_tree_store_set (
@@ -606,7 +606,7 @@ cb_active_toggled (G_GNUC_UNUSED GtkCellRendererToggle *celltoggle,
 			}
 			g_string_free (s, TRUE);
 		}
-		go_slist_free_custom (dep_ids, g_free);
+		g_slist_free_full (dep_ids, g_free);
 
 		if (want_activate) {
 			go_plugin_activate (plugin, &error);
diff --git a/src/dialogs/dialog-preferences.c b/src/dialogs/dialog-preferences.c
index f117e15..b3372b1 100644
--- a/src/dialogs/dialog-preferences.c
+++ b/src/dialogs/dialog-preferences.c
@@ -507,7 +507,7 @@ wordlist_pref_remove (GtkButton *button, wordlist_conf_setter_t setter) {
 			list = g_slist_delete_link (list, l);
 			setter (list);
 		}
-		go_slist_free_custom (list, g_free);
+		g_slist_free_full (list, g_free);
 		g_free (text);
 	}
 }
@@ -526,7 +526,7 @@ wordlist_pref_add (GtkButton *button, wordlist_conf_setter_t setter)
 			list = go_string_slist_copy (list);
 			list = g_slist_append (list, g_strdup (text));
 			setter (list);
-			go_slist_free_custom (list, g_free);
+			g_slist_free_full (list, g_free);
 		}
 	}
 }
diff --git a/src/dialogs/dialog-printer-setup.c b/src/dialogs/dialog-printer-setup.c
index 70780cc..4eb1ec0 100644
--- a/src/dialogs/dialog-printer-setup.c
+++ b/src/dialogs/dialog-printer-setup.c
@@ -1574,7 +1574,7 @@ free_hf_state (HFCustomizeState *hf_state)
 {
 	g_return_if_fail (hf_state != NULL);
 
-	go_list_free_custom (hf_state->marks, (GFreeFunc) free_hf_mark_info);
+	g_list_free_full (hf_state->marks, (GDestroyNotify) free_hf_mark_info);
 	g_free (hf_state);
 }
 
diff --git a/src/dialogs/dialog-scenarios.c b/src/dialogs/dialog-scenarios.c
index 074e10b..4fab74a 100644
--- a/src/dialogs/dialog-scenarios.c
+++ b/src/dialogs/dialog-scenarios.c
@@ -721,7 +721,7 @@ scenarios_summary_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
 		g_slist_prepend (state->new_report_sheets,
 				 new_sheet);
 	if (results)
-		go_slist_free_custom (results, (GFreeFunc)value_release);
+		g_slist_free_full (results, (GDestroyNotify)value_release);
 }
 
 static void
diff --git a/src/dialogs/dialog-sheet-order.c b/src/dialogs/dialog-sheet-order.c
index 1ba3ceb..37d70fd 100644
--- a/src/dialogs/dialog-sheet-order.c
+++ b/src/dialogs/dialog-sheet-order.c
@@ -342,7 +342,7 @@ cb_color_changed_fore (G_GNUC_UNUSED GOComboColor *go_combo_color,
 	cmd_reorganize_sheets (wbc, old_state, NULL);
 	update_undo (state, wbc);
 
-	go_list_free_custom (selected_rows, (GFreeFunc) gtk_tree_path_free);
+	g_list_free_full (selected_rows, (GDestroyNotify) gtk_tree_path_free);
 }
 
 static void
@@ -394,7 +394,7 @@ cb_color_changed_back (G_GNUC_UNUSED GOComboColor *go_combo_color,
 	cmd_reorganize_sheets (wbc, old_state, NULL);
 	update_undo (state, wbc);
 
-	go_list_free_custom (selected_rows, (GFreeFunc) gtk_tree_path_free);
+	g_list_free_full (selected_rows, (GDestroyNotify) gtk_tree_path_free);
 }
 
 static gboolean
@@ -497,7 +497,7 @@ cb_selection_changed (G_GNUC_UNUSED GtkTreeSelection *ignored,
 		wb_view_sheet_focus (
 			wb_control_view (WORKBOOK_CONTROL (state->wbcg)), sheet);
 
-	go_list_free_custom (selected_rows, (GFreeFunc) gtk_tree_path_free);
+	g_list_free_full (selected_rows, (GDestroyNotify) gtk_tree_path_free);
 }
 
 static void
@@ -891,7 +891,7 @@ cb_item_move (SheetManager *state, gnm_iter_search_t iter_search)
 	selected_rows = gtk_tree_selection_get_selected_rows (selection, NULL);
 	gtk_tree_model_get_iter (GTK_TREE_MODEL (state->model),
 				 &a, (GtkTreePath *) selected_rows->data);
-	go_list_free_custom (selected_rows, (GFreeFunc) gtk_tree_path_free);
+	g_list_free_full (selected_rows, (GDestroyNotify) gtk_tree_path_free);
 
 	b = a;
 	if (!iter_search (GTK_TREE_MODEL (state->model), &b))
@@ -931,7 +931,7 @@ cb_add_clicked (G_GNUC_UNUSED GtkWidget *ignore, SheetManager *state)
 	selected_rows = gtk_tree_selection_get_selected_rows (selection, NULL);
 	gtk_tree_model_get_iter (GTK_TREE_MODEL (state->model),
 				 &sel_iter, (GtkTreePath *) selected_rows->data);
-	go_list_free_custom (selected_rows, (GFreeFunc) gtk_tree_path_free);
+	g_list_free_full (selected_rows, (GDestroyNotify) gtk_tree_path_free);
 
 	gtk_tree_model_get (GTK_TREE_MODEL (state->model), &sel_iter,
 			    SHEET_POINTER, &old_sheet,
@@ -1010,7 +1010,7 @@ cb_duplicate_clicked (G_GNUC_UNUSED GtkWidget *ignore,
 	selected_rows = gtk_tree_selection_get_selected_rows (selection, NULL);
 	gtk_tree_model_get_iter (GTK_TREE_MODEL (state->model),
 				 &sel_iter, (GtkTreePath *) selected_rows->data);
-	go_list_free_custom (selected_rows, (GFreeFunc) gtk_tree_path_free);
+	g_list_free_full (selected_rows, (GDestroyNotify) gtk_tree_path_free);
 
 	gtk_tree_model_get (GTK_TREE_MODEL (state->model), &sel_iter,
 			    SHEET_POINTER, &this_sheet,
@@ -1082,7 +1082,7 @@ cb_delete_clicked (G_GNUC_UNUSED GtkWidget *ignore,
 	populate_sheet_list (state);
 	cb_name_edited (NULL, NULL, NULL, state);
 
-	go_list_free_custom (selected_rows, (GFreeFunc) gtk_tree_row_reference_free);
+	g_list_free_full (selected_rows, (GDestroyNotify) gtk_tree_row_reference_free);
 }
 
 static void
diff --git a/src/dialogs/dialog-stf-csv-page.c b/src/dialogs/dialog-stf-csv-page.c
index f41610f..fc14185 100644
--- a/src/dialogs/dialog-stf-csv-page.c
+++ b/src/dialogs/dialog-stf-csv-page.c
@@ -79,7 +79,7 @@ csv_page_global_change (G_GNUC_UNUSED GtkWidget *widget,
 					      strcmp (sepc->str, "") == 0 ? NULL : sepc->str,
 					      sepstr);
 	g_string_free (sepc, TRUE);
-	go_slist_free_custom (sepstr, g_free);
+	g_slist_free_full (sepstr, g_free);
 
 	stf_parse_options_csv_set_duplicates (parseoptions,
 					      gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (pagedata->csv.csv_duplicates)));
diff --git a/src/file-autoft.c b/src/file-autoft.c
index e74bbe8..8b4ff0b 100644
--- a/src/file-autoft.c
+++ b/src/file-autoft.c
@@ -223,7 +223,7 @@ category_group_list_get (void)
 	}
 	dir_list = g_slist_reverse (dir_list);
 	categories = category_list_get_from_dir_list (dir_list);
-	go_slist_free_custom (dir_list, g_free);
+	g_slist_free_full (dir_list, g_free);
 
 	categories = g_list_sort (categories, category_compare_name_and_dir);
 
diff --git a/src/format-template.c b/src/format-template.c
index 2b6a3e2..94aaf07 100644
--- a/src/format-template.c
+++ b/src/format-template.c
@@ -255,7 +255,7 @@ format_template_free (GnmFormatTemplate *ft)
 	g_free (ft->author);
 	g_free (ft->name);
 	g_free (ft->description);
-	go_slist_free_custom (ft->members, (GFreeFunc)format_template_member_free);
+	g_slist_free_full (ft->members, (GDestroyNotify)format_template_member_free);
 	g_hash_table_destroy (ft->table);
 
 	g_free (ft);
diff --git a/src/gnm-pane.c b/src/gnm-pane.c
index 115e73d..34f80bf 100644
--- a/src/gnm-pane.c
+++ b/src/gnm-pane.c
@@ -877,7 +877,7 @@ gnm_pane_dispose (GObject *obj)
 
 	g_slist_free (pane->cursor.animated);
 	pane->cursor.animated = NULL;
-	go_slist_free_custom (pane->cursor.expr_range, g_object_unref);
+	g_slist_free_full (pane->cursor.expr_range, g_object_unref);
 	pane->cursor.expr_range = NULL;
 
 	if (pane->mouse_cursor) {
@@ -2262,7 +2262,7 @@ gnm_pane_expr_cursor_bound_set (GnmPane *pane, GnmRange const *r,
 void
 gnm_pane_expr_cursor_stop (GnmPane *pane)
 {
-	go_slist_free_custom (pane->cursor.expr_range, g_object_unref);
+	g_slist_free_full (pane->cursor.expr_range, g_object_unref);
 	pane->cursor.expr_range = NULL;
 }
 
diff --git a/src/gnm-plugin.c b/src/gnm-plugin.c
index 82666ab..7f74ff6 100644
--- a/src/gnm-plugin.c
+++ b/src/gnm-plugin.c
@@ -54,7 +54,7 @@ plugin_service_function_group_finalize (GObject *obj)
 	g_free (sfg->translated_category_name);
 	sfg->translated_category_name = NULL;
 
-	go_slist_free_custom (sfg->function_name_list, g_free);
+	g_slist_free_full (sfg->function_name_list, g_free);
 	sfg->function_name_list = NULL;
 
 	g_free (sfg->textdomain);
@@ -136,7 +136,7 @@ plugin_service_function_group_read_xml (GOPluginService *service, xmlNode *tree,
 
 		g_free (category_name);
 		g_free (translated_category_name);
-		go_slist_free_custom (function_name_list, g_free);
+		g_slist_free_full (function_name_list, g_free);
 
 		g_free (textdomain);
 	}
@@ -296,7 +296,7 @@ plugin_service_ui_finalize (GObject *obj)
 
 	g_free (service_ui->file_name);
 	service_ui->file_name = NULL;
-	go_slist_free_custom (service_ui->actions, (GFreeFunc)gnm_action_free);
+	g_slist_free_full (service_ui->actions, (GDestroyNotify)gnm_action_free);
 	service_ui->actions = NULL;
 
 	parent_class = g_type_class_peek (GO_TYPE_PLUGIN_SERVICE);
diff --git a/src/gnumeric-conf.c b/src/gnumeric-conf.c
index 7cbb8e1..5f28f23 100644
--- a/src/gnumeric-conf.c
+++ b/src/gnumeric-conf.c
@@ -397,7 +397,7 @@ set_enum (struct cb_watch_enum *watch, int x)
 static void
 cb_free_string_list (GSList *l)
 {
-	go_slist_free_custom (l, g_free);
+	g_slist_free_full (l, g_free);
 }
 
 void
@@ -429,7 +429,7 @@ gnm_conf_shutdown (void)
 		sync_handler = 0;
 	}
 
-	go_slist_free_custom (watchers, (GFreeFunc)free_watcher);
+	g_slist_free_full (watchers, (GDestroyNotify)free_watcher);
 	watchers = NULL;
 
 	g_hash_table_destroy (string_pool);
@@ -608,7 +608,7 @@ gnm_conf_set_print_settings (GtkPrintSettings *settings)
 
 	gtk_print_settings_foreach (settings, gnm_gconf_set_print_settings_cb, &list);
 	gnm_conf_set_printsetup_gtk_setting (list);
-	go_slist_free_custom (list, g_free);
+	g_slist_free_full (list, g_free);
 }
 
 gboolean
diff --git a/src/gui-util.c b/src/gui-util.c
index 491c10b..e8e4d1f 100644
--- a/src/gui-util.c
+++ b/src/gui-util.c
@@ -876,7 +876,7 @@ gnm_load_pango_attributes_into_buffer (PangoAttrList  *markup, GtkTextBuffer *bu
 						break;
 					}
 				}
-				go_slist_free_custom (attr, (GFreeFunc)pango_attribute_destroy);
+				g_slist_free_full (attr, (GDestroyNotify)pango_attribute_destroy);
 			}
 		} while (pango_attr_iterator_next (iter));
 		pango_attr_iterator_destroy (iter);
@@ -940,7 +940,7 @@ gnm_load_pango_attributes_into_buffer (PangoAttrList  *markup, GtkTextBuffer *bu
 				gtk_text_buffer_get_iter_at_offset
 					(buffer, &end_iter, end);
 				gtk_text_buffer_apply_tag (buffer, tag, &start_iter, &end_iter);
-				go_slist_free_custom (attr, (GFreeFunc)pango_attribute_destroy);
+				g_slist_free_full (attr, (GDestroyNotify)pango_attribute_destroy);
 			}
 		} while (pango_attr_iterator_next (iter));
 		pango_attr_iterator_destroy (iter);
diff --git a/src/libgnumeric.c b/src/libgnumeric.c
index 5a22bc0..b705360 100644
--- a/src/libgnumeric.c
+++ b/src/libgnumeric.c
@@ -315,7 +315,7 @@ gnm_shutdown (void)
 	plugin_states = go_plugins_shutdown ();
 	if (NULL != plugin_states) {
 		gnm_conf_set_plugins_file_states (plugin_states);
-		go_slist_free_custom (plugin_states, g_free);
+		g_slist_free_full (plugin_states, g_free);
 	}
 
 	stf_shutdown ();
diff --git a/src/print-info.c b/src/print-info.c
index 2ad51f6..4ca0c2e 100644
--- a/src/print-info.c
+++ b/src/print-info.c
@@ -343,21 +343,21 @@ save_formats (void)
 	}
 	GO_SLIST_REVERSE(left);
 	gnm_conf_set_printsetup_hf_left (left);
-	go_slist_free_custom (left, g_free);
+	g_slist_free_full (left, g_free);
 
 	GO_SLIST_REVERSE(middle);
 	gnm_conf_set_printsetup_hf_middle (middle);
-	go_slist_free_custom (middle, g_free);
+	g_slist_free_full (middle, g_free);
 
 	GO_SLIST_REVERSE(right);
 	gnm_conf_set_printsetup_hf_right (right);
-	go_slist_free_custom (right, g_free);
+	g_slist_free_full (right, g_free);
 }
 
 static void
 destroy_formats (void)
 {
-	go_list_free_custom (hf_formats, (GFreeFunc)print_hf_free);
+	g_list_free_full (hf_formats, (GDestroyNotify)print_hf_free);
 	hf_formats = NULL;
 }
 
diff --git a/src/print.c b/src/print.c
index 020348c..1e1ff18 100644
--- a/src/print.c
+++ b/src/print.c
@@ -133,7 +133,7 @@ sheet_print_info_free (gpointer data)
 static void
 printing_instance_delete (PrintingInstance *pi)
 {
-	go_list_free_custom (pi->gnmSheets, sheet_print_info_free);
+	g_list_free_full (pi->gnmSheets, sheet_print_info_free);
 	hf_render_info_destroy (pi->hfi);
 	if (pi->progress) {
 		gtk_widget_destroy (pi->progress);
diff --git a/src/ranges.h b/src/ranges.h
index 6c550bd..b22afd7 100644
--- a/src/ranges.h
+++ b/src/ranges.h
@@ -61,7 +61,7 @@ guint	  gnm_range_hash  (GnmRange const *r);
 #define range_valid(r)          ((r)->start.col <= (r)->end.col && \
 				 (r)->start.row <= (r)->end.row)
 
-#define range_fragment_free(f) go_slist_free_custom ((f), g_free)
+#define range_fragment_free(f) g_slist_free_full ((f), g_free)
 
 GnmRange   *range_init_full_sheet   (GnmRange *r, Sheet const *sheet);
 GnmRange   *range_init_cols   	    (GnmRange *r, Sheet const *sheet,
diff --git a/src/rendered-value.c b/src/rendered-value.c
index 07efafa..edfdffd 100644
--- a/src/rendered-value.c
+++ b/src/rendered-value.c
@@ -334,7 +334,7 @@ gnm_rendered_value_new (GnmCell const *cell,
 					scale = pa_scale->value;
 				}
 			}
-			go_slist_free_custom (extra_attrs, 
+			g_slist_free_full (extra_attrs, 
 					      (GFreeFunc) pango_attribute_destroy);
 			pango_font_description_free (desc);
 			pango_attr_iterator_destroy (iter);
diff --git a/src/sheet-control-gui.c b/src/sheet-control-gui.c
index 5c2549f..e66557c 100644
--- a/src/sheet-control-gui.c
+++ b/src/sheet-control-gui.c
@@ -2853,7 +2853,7 @@ scg_objects_drag_commit (SheetControlGUI *scg, int drag_type,
 		g_free (text);
 	}
 	g_slist_free (data.objects);
-	go_slist_free_custom (data.anchors, g_free);
+	g_slist_free_full (data.anchors, g_free);
 }
 
 void
@@ -3874,7 +3874,7 @@ scg_drag_receive_uri_list (SheetControlGUI *scg, double x, double y,
 		}
 		g_free (mime);
 	}
-	go_slist_free_custom (urls, (GFreeFunc) g_free);
+	g_slist_free_full (urls, (GDestroyNotify) g_free);
 }
 
 static void
diff --git a/src/sheet-object-graph.c b/src/sheet-object-graph.c
index 55984b5..bb41d13 100644
--- a/src/sheet-object-graph.c
+++ b/src/sheet-object-graph.c
@@ -241,7 +241,7 @@ gnm_sog_get_target_list (SheetObject const *so)
 					     0, 0);
 	}
 	g_free (mime_str);
-	go_slist_free_custom (mimes, g_free);
+	g_slist_free_full (mimes, g_free);
 	/* No need to eliminate duplicates. */
 	gtk_target_list_add_image_targets (tl, 0, TRUE);
 
diff --git a/src/sheet-object-image.c b/src/sheet-object-image.c
index 5bf9650..22231e1 100644
--- a/src/sheet-object-image.c
+++ b/src/sheet-object-image.c
@@ -389,7 +389,7 @@ gnm_soi_get_target_list (SheetObject const *so)
 						     0, 0);
 		}
 		g_free (mime_str);
-		go_slist_free_custom (mimes, g_free);
+		g_slist_free_full (mimes, g_free);
 	}
 	/* No need to eliminate duplicates. */
 	if (soi->image != NULL || pixbuf != NULL) {
diff --git a/src/sheet.c b/src/sheet.c
index 4e79292..2adde28 100644
--- a/src/sheet.c
+++ b/src/sheet.c
@@ -4153,7 +4153,7 @@ sheet_destroy_contents (Sheet *sheet)
 	{
 		GSList *tmp = sheet->slicers;
 		sheet->slicers = NULL;
-		go_slist_free_custom (tmp, (GFreeFunc)gnm_sheet_slicer_clear_sheet);
+		g_slist_free_full (tmp, (GDestroyNotify)gnm_sheet_slicer_clear_sheet);
 	}
 
 	/* These contain SheetObjects, remove them first */
@@ -4180,7 +4180,7 @@ sheet_destroy_contents (Sheet *sheet)
 	g_hash_table_destroy (sheet->hash_merged);
 	sheet->hash_merged = NULL;
 
-	go_slist_free_custom (sheet->list_merged, g_free);
+	g_slist_free_full (sheet->list_merged, g_free);
 	sheet->list_merged = NULL;
 
 	/* Clear the row spans 1st */
@@ -4246,7 +4246,7 @@ gnm_sheet_finalize (GObject *obj)
 	g_object_unref (sheet->solver_parameters);
 	sheet->solver_parameters = NULL;
 
-	go_list_free_custom (sheet->scenarios, g_object_unref);
+	g_list_free_full (sheet->scenarios, g_object_unref);
 	sheet->scenarios = NULL;
 
 	if (sheet->sort_setups != NULL)
diff --git a/src/ssconvert.c b/src/ssconvert.c
index 5949a8f..9113cf0 100644
--- a/src/ssconvert.c
+++ b/src/ssconvert.c
@@ -260,7 +260,7 @@ read_files_to_merge (const char *inputs[], GOFileOpener *fo,
 		inputs++;
 
 		if (go_io_error_occurred (io_context)) {
-			go_slist_free_custom (wbs, g_object_unref);
+			g_slist_free_full (wbs, g_object_unref);
 			return NULL;
 		}
 
@@ -420,7 +420,7 @@ merge (Workbook *wb, char const *inputs[],
 			break;
 	}
 
-	go_slist_free_custom (wbs, g_object_unref);
+	g_slist_free_full (wbs, g_object_unref);
 	return result;
 }
 
diff --git a/src/stf-parse.c b/src/stf-parse.c
index fff81c7..67133f4 100644
--- a/src/stf-parse.c
+++ b/src/stf-parse.c
@@ -265,7 +265,7 @@ stf_parse_options_clear_line_terminator (StfParseOptions_t *parseoptions)
 {
 	g_return_if_fail (parseoptions != NULL);
 
-	go_slist_free_custom (parseoptions->terminator, g_free);
+	g_slist_free_full (parseoptions->terminator, g_free);
 	parseoptions->terminator = NULL;
 	compile_terminators (parseoptions);
 }
@@ -298,7 +298,7 @@ stf_parse_options_csv_set_separators (StfParseOptions_t *parseoptions, char cons
 	g_free (parseoptions->sep.chr);
 	parseoptions->sep.chr = g_strdup (character);
 
-	go_slist_free_custom (parseoptions->sep.str, g_free);
+	g_slist_free_full (parseoptions->sep.str, g_free);
 	parseoptions->sep.str = go_slist_map (string, (GOMapFunc)g_strdup);
 }
 
diff --git a/src/tools/analysis-tools.c b/src/tools/analysis-tools.c
index 423aaf5..4232bef 100644
--- a/src/tools/analysis-tools.c
+++ b/src/tools/analysis-tools.c
@@ -655,7 +655,7 @@ analysis_tool_table (data_analysis_output_t *dao,
 		value_release (val);
 	}
 
-	go_slist_free_custom (inputexpr, (GFreeFunc)gnm_expr_free);
+	g_slist_free_full (inputexpr, (GDestroyNotify)gnm_expr_free);
 	if (fd) gnm_func_unref (fd);
 
 	dao_redraw_respan (dao);
diff --git a/src/tools/dao.c b/src/tools/dao.c
index cbd2b3d..53f4035 100644
--- a/src/tools/dao.c
+++ b/src/tools/dao.c
@@ -99,7 +99,7 @@ dao_init_new_sheet (data_analysis_output_t *dao)
 
 void dao_free (data_analysis_output_t *dao)
 {
-	go_slist_free_custom (dao->sos, g_object_unref);
+	g_slist_free_full (dao->sos, g_object_unref);
 	dao->sos = NULL;
 
 	if (dao->use_gfree)
diff --git a/src/tools/data-shuffling.c b/src/tools/data-shuffling.c
index aff6fd1..815ea82 100644
--- a/src/tools/data-shuffling.c
+++ b/src/tools/data-shuffling.c
@@ -319,5 +319,5 @@ void
 data_shuffling_free (data_shuffling_t *st)
 {
 	g_free (st->dao);
-	go_slist_free_custom (st->changes, g_free);
+	g_slist_free_full (st->changes, g_free);
 }
diff --git a/src/tools/filter.c b/src/tools/filter.c
index 2108d63..e1e4153 100644
--- a/src/tools/filter.c
+++ b/src/tools/filter.c
@@ -141,7 +141,7 @@ advanced_filter (WorkbookControl        *wbc,
 		database->v_range.cell.b.col, database->v_range.cell.a.row,
 		database->v_range.cell.b.row);
 
-	go_slist_free_custom (rows, (GFreeFunc)g_free);
+	g_slist_free_full (rows, (GDestroyNotify)g_free);
 
 	sv = sheet_get_view (sheet, wb_control_view (wbc));
 	s = r = *(selection_first_range (sv, NULL, NULL));
@@ -238,7 +238,7 @@ analysis_tool_advanced_filter_engine_run (data_analysis_output_t *dao,
 		database->v_range.cell.b.col, database->v_range.cell.a.row,
 		database->v_range.cell.b.row);
 
-	go_slist_free_custom (rows, (GFreeFunc)g_free);
+	g_slist_free_full (rows, (GDestroyNotify)g_free);
 
 finish:
 	if (err != analysis_tools_noerr) {
diff --git a/src/tools/gnm-solver.c b/src/tools/gnm-solver.c
index 3a8250e..eda06a7 100644
--- a/src/tools/gnm-solver.c
+++ b/src/tools/gnm-solver.c
@@ -649,7 +649,7 @@ gnm_solver_param_finalize (GObject *obj)
 
 	dependent_managed_set_expr (&sp->target, NULL);
 	dependent_managed_set_expr (&sp->input, NULL);
-	go_slist_free_custom (sp->constraints,
+	g_slist_free_full (sp->constraints,
 			      (GFreeFunc)gnm_solver_constraint_free);
 	g_free (sp->options.scenario_name);
 
diff --git a/src/tools/scenarios.c b/src/tools/scenarios.c
index db16e35..101bc10 100644
--- a/src/tools/scenarios.c
+++ b/src/tools/scenarios.c
@@ -119,7 +119,7 @@ gnm_scenario_finalize (GObject *obj)
 	g_free (sc->name);
 	g_free (sc->comment);
 
-	go_slist_free_custom (sc->items, (GFreeFunc)gnm_scenario_item_free);
+	g_slist_free_full (sc->items, (GDestroyNotify)gnm_scenario_item_free);
 
 	gnm_scenario_parent_class->finalize (obj);
 }
diff --git a/src/value.c b/src/value.c
index 5fdbfdb..d19d8ad 100644
--- a/src/value.c
+++ b/src/value.c
@@ -1644,7 +1644,7 @@ free_criterias (GSList *criterias)
 
         while (criterias != NULL) {
 		GnmDBCriteria *criteria = criterias->data;
-		go_slist_free_custom (criteria->conditions,
+		g_slist_free_full (criteria->conditions,
 				      (GFreeFunc)free_criteria);
 		g_free (criteria);
 		criterias = criterias->next;
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index 8eee657..f0549e8 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -3372,7 +3372,7 @@ wbc_gtk_init_font_name (WBCGtk *gtk)
 	families = go_fonts_list_families (context);
 	for (ptr = families; ptr != NULL; ptr = ptr->next)
 		go_action_combo_text_add_item (gtk->font_name, ptr->data);
-	go_slist_free_custom (families, (GFreeFunc)g_free);
+	g_slist_free_full (families, (GDestroyNotify)g_free);
 
 	g_signal_connect (G_OBJECT (gtk->font_name),
 		"activate",
@@ -4860,7 +4860,7 @@ wbc_gtk_reload_recent_file_menu (WBCGtk const *wbcg)
 		g_free (filename_utf8);
 		g_free (tooltip);
 	}
-	go_slist_free_custom (history, (GFreeFunc)g_free);
+	g_slist_free_full (history, (GDestroyNotify)g_free);
 
 	gtk_ui_manager_insert_action_group (gtk->ui, gtk->file_history.actions, 0);
 
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index e6287cd..b2ccd12 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -624,7 +624,7 @@ gee_scan_for_range (GnmExprEntry *gee)
 						  (pane, &r, FALSE););
 			}
 
-			go_slist_free_custom (list, (GFreeFunc)value_release);
+			g_slist_free_full (list, (GDestroyNotify)value_release);
 		}
 		gnm_expr_entry_find_range (gee);
 		if (gnm_expr_entry_get_rangesel (gee, &range, &parse_sheet) &&
@@ -893,7 +893,7 @@ gee_set_tooltip_completion (GnmExprEntry *gee, GSList *list, guint start, guint
 			(gee, str->str, str_marked->str, TRUE);
 	g_string_free (str, TRUE);
 	g_string_free (str_marked, TRUE);
-	go_slist_free_custom (list, (GFreeFunc) gnm_func_unref);
+	g_slist_free_full (list, (GDestroyNotify) gnm_func_unref);
 	return show_tool_tip;
 }
 
diff --git a/src/widgets/widget-font-selector.c b/src/widgets/widget-font-selector.c
index 1a53043..54885b4 100644
--- a/src/widgets/widget-font-selector.c
+++ b/src/widgets/widget-font-selector.c
@@ -432,7 +432,7 @@ fs_destroy (GtkWidget *widget)
 		fs->gui = NULL;
 	}
 
-	go_slist_free_custom (fs->family_names, g_free);
+	g_slist_free_full (fs->family_names, g_free);
 	fs->family_names = NULL;
 
 	g_slist_free (fs->font_sizes);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]