Commit 4827ef3b authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 7e5df638
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)
......
......@@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
/* now sort the store */
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);
......
......@@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
/* now sort the store */
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);
......
......@@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
/* now sort the store */
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);
......
......@@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
/* now sort the store */
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);
......
......@@ -655,15 +655,12 @@ dialog_search_callback (GtkWidget *widget,
g_free (proc_list[i]);
}
/* now sort the store */
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (dbbrowser->store),
0, GTK_SORT_ASCENDING);
g_free (proc_list);
/* now sort the store */
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment