forked from AuroraMiddleware/gtk
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).
This commit is contained in:
parent
7a02c5b508
commit
ae61f443f3
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user