summaryrefslogtreecommitdiff
path: root/plugins/gtk+/glade-column-types.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtk+/glade-column-types.c')
-rw-r--r--plugins/gtk+/glade-column-types.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/gtk+/glade-column-types.c b/plugins/gtk+/glade-column-types.c
index 2f769211..80a50d04 100644
--- a/plugins/gtk+/glade-column-types.c
+++ b/plugins/gtk+/glade-column-types.c
@@ -186,8 +186,7 @@ glade_column_type_free (GladeColumnType * column)
void
glade_column_list_free (GList * list)
{
- g_list_foreach (list, (GFunc) glade_column_type_free, NULL);
- g_list_free (list);
+ g_list_free_full (list, (GDestroyNotify) glade_column_type_free);
}
GladeColumnType *