~fginther/unity/100-scopes-search-tests

« back to all changes in this revision

Viewing changes to dash/CoverflowResultView.cpp

  • Committer: Nick Dedekind
  • Date: 2013-03-12 13:31:41 UTC
  • mfrom: (3008.2.200 trunk)
  • Revision ID: nicholas.dedekind@gmail.com-20130312133141-qrq3x3ighapfd36f
merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
  icon_texture_->SinkReference();
89
89
  icon_texture_->LoadIcon();
90
90
 
91
 
  icon_texture_->texture_updated.connect([&] (nux::BaseTexture *texture)
 
91
  icon_texture_->texture_updated.connect([this] (nux::ObjectPtr<nux::BaseTexture> const&)
92
92
  {
93
93
    if (parent_)
94
94
      parent_->NeedRedraw();
119
119
 
120
120
nux::ObjectPtr<nux::BaseTexture> CoverflowResultItem::GetTexture() const
121
121
{
122
 
  return nux::ObjectPtr<nux::BaseTexture>(icon_texture_->texture());
 
122
  return icon_texture_->texture();
123
123
}
124
124
 
125
125
void CoverflowResultItem::Activate(int button)