After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 557402 - The chat stack should use gmref_ptr
The chat stack should use gmref_ptr
Status: RESOLVED FIXED
Product: ekiga
Classification: Applications
Component: Chat stack
GIT master
Other All
: Normal normal
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
Depends on:
Blocks: 552549
 
 
Reported: 2008-10-22 12:52 UTC by Snark
Modified: 2008-11-27 20:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Snark 2008-10-22 12:52:45 UTC
That would make memory management more automatic and allow sharing objects more
easily.

Beware of the following situation :
obj->updated.connect (sigc::bind (sigc::mem_fun (this,
&Foo::Bar::on_obj_updated), obj);

this makes obj store a reference to itself -- it will get released when the
Foo::Bar objects gets freed (if it's a sigc::trackable), but will be kept
otherwise, which may not be intended.
Comment 1 Snark 2008-11-27 20:36:47 UTC
Done