summaryrefslogtreecommitdiff
path: root/gtk/gtktreeselection.h
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-08-27 19:19:24 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-08-27 19:19:24 +0000
commit892496c8e70aaad8c40549033c01fd0d5ea16033 (patch)
tree8deeb4f47c191d91599f8bddd3b356895c1498fc /gtk/gtktreeselection.h
parentd70c0b40777c8f658bbba819d7ef5f0efdbdd639 (diff)
downloadgtk+-892496c8e70aaad8c40549033c01fd0d5ea16033.tar.gz
Use the GTK selection types rather than GtkTreeSelectionMode.
Mon Aug 27 15:18:14 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): Use the GTK selection types rather than GtkTreeSelectionMode. * docs/Changes-2.0: Add comment about selection change.
Diffstat (limited to 'gtk/gtktreeselection.h')
-rw-r--r--gtk/gtktreeselection.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/gtk/gtktreeselection.h b/gtk/gtktreeselection.h
index d349337a45..11286bdabf 100644
--- a/gtk/gtktreeselection.h
+++ b/gtk/gtktreeselection.h
@@ -34,12 +34,6 @@ extern "C" {
#define GTK_IS_TREE_SELECTION_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), GTK_TYPE_TREE_SELECTION))
#define GTK_TREE_SELECTION_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelectionClass))
-typedef enum
-{
- GTK_TREE_SELECTION_SINGLE,
- GTK_TREE_SELECTION_MULTI
-} GtkTreeSelectionMode;
-
typedef gboolean (* GtkTreeSelectionFunc) (GtkTreeSelection *selection,
GtkTreeModel *model,
GtkTreePath *path,
@@ -56,7 +50,7 @@ struct _GtkTreeSelection
/*< private >*/
GtkTreeView *tree_view;
- GtkTreeSelectionMode type;
+ GtkSelectionMode type;
GtkTreeSelectionFunc user_func;
gpointer user_data;
GtkDestroyNotify destroy;
@@ -73,8 +67,8 @@ struct _GtkTreeSelectionClass
GtkType gtk_tree_selection_get_type (void);
void gtk_tree_selection_set_mode (GtkTreeSelection *selection,
- GtkTreeSelectionMode type);
-GtkTreeSelectionMode gtk_tree_selection_get_mode (GtkTreeSelection *selection);
+ GtkSelectionMode type);
+GtkSelectionMode gtk_tree_selection_get_mode (GtkTreeSelection *selection);
void gtk_tree_selection_set_select_function (GtkTreeSelection *selection,
GtkTreeSelectionFunc func,
gpointer data,