Mercurial > pidgin
changeset 31405:62dc884f2dec
Use the correct accessor macro here to prevent crashing.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Mon, 21 Mar 2011 00:11:19 +0000 |
parents | 7e20e5bbaf2b |
children | 0062b2661b3c dc120ca9f523 79a8ed88de20 |
files | pidgin/gtkaccount.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkaccount.c Mon Mar 21 00:10:53 2011 +0000 +++ b/pidgin/gtkaccount.c Mon Mar 21 00:11:19 2011 +0000 @@ -1173,7 +1173,7 @@ add_voice_options(AccountPrefsDialog *dialog) { #ifdef USE_VV - if (!dialog->prpl_info || !dialog->prpl_info->initiate_media) { + if (!dialog->prpl_info || !PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(dialog->prpl_info, initiate_media)) { if (dialog->voice_frame) { gtk_widget_destroy(dialog->voice_frame); dialog->voice_frame = NULL;