Logo Search packages:      
Sourcecode: pan version File versions  Download package

bool PanTreeStore::get_parent ( GtkTreeIter *  setme_parent,
GtkTreeIter *  child 
)

Equivalent to gtk_tree_model_get_parent().

Definition at line 324 of file pan-tree.cc.

References get_row(), root, and stamp.

{
  g_return_val_if_fail (child, false);
  g_return_val_if_fail (iter, false);
  g_return_val_if_fail (child->stamp == stamp, false);

  const Row * row (get_row (child));
  return set_or_invalidate (iter, row->parent!=root ? row->parent : 0);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index