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 656866 - Use more tp_connection_get_account()
Use more tp_connection_get_account()
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
2.33.x
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2011-08-19 07:28 UTC by Guillaume Desmottes
Modified: 2011-08-19 10:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
main-window: use tp_connection_get_account() (2.50 KB, patch)
2011-08-19 10:21 UTC, Guillaume Desmottes
committed Details | Review
contact-chooser: use tp_connection_get_account() (1.37 KB, patch)
2011-08-19 10:21 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2011-08-19 07:28:11 UTC
Some code still do trick like:

> +    g_object_set_data (G_OBJECT (conn), "account", account);
(main-window.c)

to get the account of a connection. That is not needed any more thanks to tp_connection_get_account().
Comment 1 Guillaume Desmottes 2011-08-19 10:21:54 UTC
Created attachment 194205 [details] [review]
main-window: use tp_connection_get_account()
Comment 2 Guillaume Desmottes 2011-08-19 10:21:57 UTC
Created attachment 194206 [details] [review]
contact-chooser: use tp_connection_get_account()
Comment 3 Xavier Claessens 2011-08-19 10:25:32 UTC
+1
Comment 4 Guillaume Desmottes 2011-08-19 10:52:08 UTC
Attachment 194205 [details] pushed as 010b9fe - main-window: use tp_connection_get_account()
Attachment 194206 [details] pushed as b9582cf - contact-chooser: use tp_connection_get_account()