pidgin: 2c1862a7: Fix build breakage introduced by 756598e...

andrew.victor at mxit.com andrew.victor at mxit.com
Tue Aug 30 03:26:53 EDT 2011


----------------------------------------------------------------------
Revision: 2c1862a7a36a8c02d4421f62a7eb89dd370b7776
Parent:   756598e4c0c17510d74152d8f495204deb003620
Author:   andrew.victor at mxit.com
Date:     08/30/11 03:20:56
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/2c1862a7a36a8c02d4421f62a7eb89dd370b7776

Changelog: 

Fix build breakage introduced by 756598e4c0c17510d74152d8f495204deb003620.


Changes against parent 756598e4c0c17510d74152d8f495204deb003620

  patched  pidgin/gtkrequest.c

-------------- next part --------------
============================================================
--- pidgin/gtkrequest.c	7b931f29043eae710a6e01c597935881becd66cb
+++ pidgin/gtkrequest.c	7663a69c357ae2ea22b19e5b31a4dfe601bcf5b1
@@ -749,6 +749,7 @@ req_entry_field_changed_cb(GtkWidget *en
 req_entry_field_changed_cb(GtkWidget *entry, PurpleRequestField *field)
 {
 	PurpleRequestFieldGroup *group;
+	PurpleRequestFields *fields;
 	PidginRequestData *req_data;
 
 	if (purple_request_field_string_is_multiline(field))
@@ -771,10 +772,11 @@ req_entry_field_changed_cb(GtkWidget *en
 	}
 
 	group = purple_request_field_get_group(field);
-	req_data = (PidginRequestData *)group->fields_list->ui_data;
+	fields = purple_request_field_group_get_fields_list(group);
+	req_data = purple_request_fields_get_ui_data(fields);
 
 	gtk_widget_set_sensitive(req_data->ok_button,
-		purple_request_fields_all_required_filled(group->fields_list));
+		purple_request_fields_all_required_filled(fields));
 }
 
 static void
@@ -796,7 +798,7 @@ setup_entry_field(GtkWidget *entry, Purp
 		{
 			GtkWidget *optmenu = NULL;
 			PurpleRequestFieldGroup *group = purple_request_field_get_group(field);
-			GList *fields = group->fields;
+			GList *fields = purple_request_field_group_get_fields(group);
 
 			/* Ensure the account option menu is created (if the widget hasn't
 			 * been initialized already) for username auto-completion. */
@@ -1220,7 +1222,7 @@ pidgin_request_fields(const char *title,
 	data->user_data = user_data;
 	data->u.multifield.fields = fields;
 
-	fields->ui_data = data;
+	purple_request_fields_set_ui_data(fields, data);
 
 	data->cb_count = 2;
 	data->cbs = g_new0(GCallback, 2);


More information about the Commits mailing list