libpurple/protocols/mxit/actions.c

changeset 34332
876483829700
parent 34329
ddbc1337332c
child 34338
c652670afac5
--- a/libpurple/protocols/mxit/actions.c	Tue Sep 10 21:47:37 2013 +0200
+++ b/libpurple/protocols/mxit/actions.c	Tue Sep 10 22:32:40 2013 +0200
@@ -311,7 +311,7 @@
 
 	/* (reference: "libpurple/request.h") */
 	purple_request_fields( gc, _( "Profile" ), _( "Update your MXit Profile" ), NULL, fields, _( "Set" ),
-			G_CALLBACK( mxit_profile_cb ), _( "Cancel" ), NULL, purple_connection_get_account( gc ), NULL, NULL, gc );
+			G_CALLBACK( mxit_profile_cb ), _( "Cancel" ), NULL, purple_request_cpar_from_connection(gc), gc );
 }
 
 
@@ -408,7 +408,7 @@
 
 	/* (reference: "libpurple/request.h") */
 	purple_request_fields( gc, _( "Change PIN" ), _( "Change MXit PIN" ), NULL, fields, _( "Set" ),
-			G_CALLBACK( mxit_change_pin_cb ), _( "Cancel" ), NULL, purple_connection_get_account( gc ), NULL, NULL, gc );
+			G_CALLBACK( mxit_change_pin_cb ), _( "Cancel" ), NULL, purple_request_cpar_from_connection(gc), gc );
 }
 
 

mercurial