~ken-vandine/libunity/social_preview

« back to all changes in this revision

Viewing changes to src/unity-previews.vala

  • Committer: Ken VanDine
  • Date: 2012-09-17 14:58:28 UTC
  • Revision ID: ken.vandine@canonical.com-20120917145828-pghhvvg3ofw7d93r
removed commented out code

Show diffs side-by-side

added added

removed removed

Lines of Context:
545
545
    return _raw;
546
546
  }
547
547
 
548
 
/* KEN
549
 
  public SocialPreview (Comment[] comments, string selected_item_uri)
550
 
  {
551
 
    // careful current_item_uri will be set before items are
552
 
    Object (current_item_uri: selected_item_uri);
553
 
    foreach (unowned Comment comment in comments)
554
 
    {
555
 
      add_comment (comment);
556
 
    }
557
 
  }
558
 
*/
559
 
 
560
548
  public void add_comment (Comment comment)
561
549
  {
562
550
    _raw.add_comment (comment.id, comment.name, comment.text, comment.time);