Commit ae61f443 authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

new function. (#160879, Stefan Kost).

2005-07-13  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new
	function. (#160879, Stefan Kost).
parent 7a02c5b5
2005-07-13 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new
function. (#160879, Stefan Kost).
2005-07-13 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): paint a flat box
......
2005-07-13 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new
function. (#160879, Stefan Kost).
2005-07-13 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): paint a flat box
......
2005-07-13 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new
function. (#160879, Stefan Kost).
2005-07-13 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): paint a flat box
......
......@@ -1942,6 +1942,25 @@ gtk_tree_row_reference_get_path (GtkTreeRowReference *reference)
return gtk_tree_path_copy (reference->path);
}
/**
* gtk_tree_row_reference_get_model:
* @reference: A #GtkTreeRowReference
*
* Returns the model which @reference is monitoring in order to appropriately
* the path.
*
* Return value: The model, or %NULL.
*
* Since: 2.8
*/
GtkTreeModel *
gtk_tree_row_reference_get_model (GtkTreeRowReference *reference)
{
g_return_val_if_fail (reference != NULL, NULL);
return reference->model;
}
/**
* gtk_tree_row_reference_valid:
* @reference: A #GtkTreeRowReference, or NULL
......
......@@ -161,6 +161,7 @@ GtkTreeRowReference *gtk_tree_row_reference_new_proxy (GObject *prox
GtkTreeModel *model,
GtkTreePath *path);
GtkTreePath *gtk_tree_row_reference_get_path (GtkTreeRowReference *reference);
GtkTreeModel *gtk_tree_row_reference_get_model (GtkTreeRowReference *reference);
gboolean gtk_tree_row_reference_valid (GtkTreeRowReference *reference);
GtkTreeRowReference *gtk_tree_row_reference_copy (GtkTreeRowReference *reference);
void gtk_tree_row_reference_free (GtkTreeRowReference *reference);
......
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