gtk/*: Use g_list_free_full() convenience function

This commit is contained in:
Javier Jardón
2012-01-02 04:20:59 +01:00
parent 6ad6f719c6
commit d005b01319
21 changed files with 37 additions and 87 deletions

View File

@ -1540,8 +1540,7 @@ update_dialog_from_settings (GtkPrintUnixDialog *dialog)
else
gtk_widget_hide (priv->advanced_page);
g_list_foreach (groups, (GFunc) g_free, NULL);
g_list_free (groups);
g_list_free_full (groups, g_free);
}
static void