forked from AuroraMiddleware/gtk
removed set_sort_column, as it was moved to the GtkTreeSortable interface.
Tue Apr 3 15:04:45 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodelsort.h: removed set_sort_column, as it was moved to the GtkTreeSortable interface. * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): Make more efficient (fixes #50262).
This commit is contained in:
parent
af5c897e4b
commit
4478fcca0b
@ -1,3 +1,11 @@
|
||||
Tue Apr 3 15:04:45 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelsort.h: removed set_sort_column, as it was
|
||||
moved to the GtkTreeSortable interface.
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
|
||||
Make more efficient (fixes #50262).
|
||||
|
||||
Tue Apr 3 13:55:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Updated.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Apr 3 15:04:45 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelsort.h: removed set_sort_column, as it was
|
||||
moved to the GtkTreeSortable interface.
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
|
||||
Make more efficient (fixes #50262).
|
||||
|
||||
Tue Apr 3 13:55:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Updated.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Apr 3 15:04:45 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelsort.h: removed set_sort_column, as it was
|
||||
moved to the GtkTreeSortable interface.
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
|
||||
Make more efficient (fixes #50262).
|
||||
|
||||
Tue Apr 3 13:55:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Updated.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Apr 3 15:04:45 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelsort.h: removed set_sort_column, as it was
|
||||
moved to the GtkTreeSortable interface.
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
|
||||
Make more efficient (fixes #50262).
|
||||
|
||||
Tue Apr 3 13:55:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Updated.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Apr 3 15:04:45 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelsort.h: removed set_sort_column, as it was
|
||||
moved to the GtkTreeSortable interface.
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
|
||||
Make more efficient (fixes #50262).
|
||||
|
||||
Tue Apr 3 13:55:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Updated.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Apr 3 15:04:45 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelsort.h: removed set_sort_column, as it was
|
||||
moved to the GtkTreeSortable interface.
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
|
||||
Make more efficient (fixes #50262).
|
||||
|
||||
Tue Apr 3 13:55:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Updated.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Apr 3 15:04:45 2001 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelsort.h: removed set_sort_column, as it was
|
||||
moved to the GtkTreeSortable interface.
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
|
||||
Make more efficient (fixes #50262).
|
||||
|
||||
Tue Apr 3 13:55:37 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* NEWS: Updated.
|
||||
|
@ -74,10 +74,6 @@ GtkTreePath *gtk_tree_model_sort_convert_path (GtkTreeModelSort *tree_model_
|
||||
GtkTreePath *child_path);
|
||||
|
||||
/* not implemented */
|
||||
void gtk_tree_model_sort_set_sort_column (GtkTreeModelSort *tree_model_sort,
|
||||
gint sort_col);
|
||||
void gtk_tree_model_sort_set_compare (GtkTreeModelSort *tree_model_sort,
|
||||
GValueCompareFunc func);
|
||||
void gtk_tree_model_sort_convert_iter (GtkTreeModelSort *tree_model_sort,
|
||||
GtkTreeIter *sort_iter,
|
||||
GtkTreeIter *child_iter);
|
||||
|
@ -368,6 +368,13 @@ gtk_tree_selection_selected_foreach (GtkTreeSelection *selection,
|
||||
selection->tree_view->priv->tree->root == NULL)
|
||||
return;
|
||||
|
||||
if (selection->type == GTK_TREE_SELECTION_SINGLE)
|
||||
{
|
||||
if (gtk_tree_selection_get_selected (selection, NULL, &iter))
|
||||
(* func) (selection->tree_view->priv->model, &iter, data);
|
||||
return;
|
||||
}
|
||||
|
||||
tree = selection->tree_view->priv->tree;
|
||||
node = selection->tree_view->priv->tree->root;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user