summaryrefslogtreecommitdiff
path: root/gtk/gtktreeselection.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-01-04 23:36:19 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-01-04 23:36:19 +0000
commitae89b1e1b17d4e6eb53d7d397dab76a711de6183 (patch)
treed1b20c55dbf862b3954741b3201748702da23df3 /gtk/gtktreeselection.c
parentc020b3b4f87fa978a6706e9b98faa5f522d6b002 (diff)
downloadgtk+-ae89b1e1b17d4e6eb53d7d397dab76a711de6183.tar.gz
add this
2001-01-04 Havoc Pennington <hp@redhat.com> * gtk/gtktreeselection.c (gtk_tree_selection_get_tree_view): add this * gtk/gtktreemodel.h (struct _GtkTreeIter): rename fields to user_data instead of tree_node * gtk/gtktreeprivate.h (TREE_VIEW_COLUMN_WIDTH): rename from TREE_VIEW_COLUMN_SIZE * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): rename "size" field to "width" finishes bug 40061 * gtk/gtkcellrenderer.h: Use GtkCellRendererState instead of guint for bitfields, bug 40268
Diffstat (limited to 'gtk/gtktreeselection.c')
-rw-r--r--gtk/gtktreeselection.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c
index d9ab38f394..628bcb323c 100644
--- a/gtk/gtktreeselection.c
+++ b/gtk/gtktreeselection.c
@@ -239,6 +239,14 @@ gtk_tree_selection_get_user_data (GtkTreeSelection *selection)
return selection->user_data;
}
+GtkTreeView*
+gtk_tree_selection_get_tree_view (GtkTreeSelection *selection)
+{
+ g_return_val_if_fail (GTK_IS_TREE_SELECTION (selection), NULL);
+
+ return selection->tree_view;
+}
+
/**
* gtk_tree_selection_get_selected:
* @selection: A #GtkTreeSelection.