~ubuntu-branches/ubuntu/precise/unity/precise

« back to all changes in this revision

Viewing changes to UnityCore/GLibWrapper-inl.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-08-01 19:53:15 UTC
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: james.westby@ubuntu.com-20110801195315-md096dlrswm01ufo
Tags: upstream-4.6.0
ImportĀ upstreamĀ versionĀ 4.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  if (object_)
57
57
    g_object_unref(object_);
58
58
  object_ = val;
 
59
 
 
60
  return *this;
59
61
}
60
62
 
61
63
template <typename T>
66
68
  object_ = other.object_;
67
69
  if (object_)
68
70
    g_object_ref(object_);
 
71
 
 
72
  return *this;
69
73
}
70
74
 
71
75
template <typename T>