~sethj/ubuntu/wily/unity/fix-for-1445595

« back to all changes in this revision

Viewing changes to UnityCore/ModelRowAdaptor.cpp

New libunity scope API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
  return static_cast<float>(dee_model_get_double(model_, iter_, position));
96
96
}
97
97
 
 
98
glib::Variant RowAdaptorBase::GetVariantAt(int position) const
 
99
{
 
100
  if (!model_ || !iter_)
 
101
    return nullptr;
 
102
  return dee_model_get_value(model_, iter_, position);
 
103
}
 
104
 
98
105
void RowAdaptorBase::set_model_tag(gpointer value)
99
106
{
100
107
  dee_model_set_tag(model_, iter_, tag_, value);