cleaned up after myself. There's no need to sort the store twice.

2002-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/dbbrowser_utils.c (dialog_search_callback):
	cleaned up after myself. There's no need to sort the store twice.
This commit is contained in:
Sven Neumann 2002-06-24 10:03:15 +00:00 committed by Sven Neumann
parent 7e5df6383b
commit 4827ef3be0
6 changed files with 15 additions and 25 deletions

View File

@ -1,3 +1,8 @@
2002-06-24 Sven Neumann <sven@gimp.org>
* plug-ins/dbbrowser/dbbrowser_utils.c (dialog_search_callback):
cleaned up after myself. There's no need to sort the store twice.
2002-06-23 Maurits Rijk <lpeek.mrijk@consunet.nl>
* libgimpcolor/gimprgb.c (gimp_rgb_min)

View File

@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
g_free (proc_list);
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
if (num_procs > 0)
{
gtk_tree_model_get_iter_root (GTK_TREE_MODEL (dbbrowser->store), &iter);

View File

@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
g_free (proc_list);
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
if (num_procs > 0)
{
gtk_tree_model_get_iter_root (GTK_TREE_MODEL (dbbrowser->store), &iter);

View File

@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
g_free (proc_list);
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
if (num_procs > 0)
{
gtk_tree_model_get_iter_root (GTK_TREE_MODEL (dbbrowser->store), &iter);

View File

@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
g_free (proc_list);
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
if (num_procs > 0)
{
gtk_tree_model_get_iter_root (GTK_TREE_MODEL (dbbrowser->store), &iter);

View File

@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
g_free (proc_list);
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
if (num_procs > 0)
{
gtk_tree_model_get_iter_root (GTK_TREE_MODEL (dbbrowser->store), &iter);