comparison libpurple/protocols/jabber/usertune.c @ 32827:4a34689eeb33 default tip

merged from im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 19 Nov 2011 14:42:54 +0900
parents 2ec94166be43
children
comparison
equal deleted inserted replaced
32692:0f94ec89f0bc 32827:4a34689eeb33
90 } 90 }
91 } 91 }
92 } 92 }
93 93
94 if (valid) { 94 if (valid) {
95 purple_prpl_got_user_status(js->gc->account, from, "tune", 95 purple_prpl_got_user_status(purple_connection_get_account(js->gc), from, "tune",
96 PURPLE_TUNE_ARTIST, tuneinfodata.artist, 96 PURPLE_TUNE_ARTIST, tuneinfodata.artist,
97 PURPLE_TUNE_TITLE, tuneinfodata.title, 97 PURPLE_TUNE_TITLE, tuneinfodata.title,
98 PURPLE_TUNE_ALBUM, tuneinfodata.album, 98 PURPLE_TUNE_ALBUM, tuneinfodata.album,
99 PURPLE_TUNE_TRACK, tuneinfodata.track, 99 PURPLE_TUNE_TRACK, tuneinfodata.track,
100 PURPLE_TUNE_TIME, tuneinfodata.time, 100 PURPLE_TUNE_TIME, tuneinfodata.time,
101 PURPLE_TUNE_URL, tuneinfodata.url, NULL); 101 PURPLE_TUNE_URL, tuneinfodata.url, NULL);
102 } else { 102 } else {
103 purple_prpl_got_user_status_deactive(js->gc->account, from, "tune"); 103 purple_prpl_got_user_status_deactive(purple_connection_get_account(js->gc), from, "tune");
104 } 104 }
105 105
106 g_free(tuneinfodata.artist); 106 g_free(tuneinfodata.artist);
107 g_free(tuneinfodata.title); 107 g_free(tuneinfodata.title);
108 g_free(tuneinfodata.album); 108 g_free(tuneinfodata.album);