pidgin: bfb757df: Use the correct accessor macro here to p...

qulogic at pidgin.im qulogic at pidgin.im
Sun Mar 20 20:32:50 EDT 2011


----------------------------------------------------------------------
Revision: bfb757dfe6b2549ab37a9b19f78f5f1f2f9df0cd
Parent:   cbf0ca585642760ad0b690c9dc48ddc3436eb5a7
Author:   qulogic at pidgin.im
Date:     03/20/11 20:11:19
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bfb757dfe6b2549ab37a9b19f78f5f1f2f9df0cd

Changelog: 

Use the correct accessor macro here to prevent crashing.

Changes against parent cbf0ca585642760ad0b690c9dc48ddc3436eb5a7

  patched  pidgin/gtkaccount.c

-------------- next part --------------
============================================================
--- pidgin/gtkaccount.c	4d02d24f81e788d1e85f2c87ed16b5bf64c4c8a5
+++ pidgin/gtkaccount.c	a24f7229dfb323cb38b19ffeafbdde7b052728a9
@@ -1173,7 +1173,7 @@ add_voice_options(AccountPrefsDialog *di
 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;


More information about the Commits mailing list