* src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
post-cleaning if the selection is not NULL.
2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
+ * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
+ post-cleaning if the selection is not NULL.
+
+2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
+
* src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
all items before restoring the selection.
{
if (dialog->priv->current_selection) {
g_slist_foreach (dialog->priv->current_selection, (GFunc) free_path_list, NULL);
+ g_slist_free (dialog->priv->current_selection);
+ dialog->priv->current_selection = NULL;
}
- g_slist_free (dialog->priv->current_selection);
- dialog->priv->current_selection = NULL;
}
static void