# HG changeset patch # User andrew.victor@mxit.com # Date 1314688856 0 # Node ID 91e431815449082b5975296212b63687679869ec # Parent 4a0bc7b7957b68ea612037181460bcccaa3d073c Fix build breakage introduced by 756598e4c0c17510d74152d8f495204deb003620. diff -r 4a0bc7b7957b -r 91e431815449 pidgin/gtkrequest.c --- a/pidgin/gtkrequest.c Tue Aug 30 06:37:09 2011 +0000 +++ b/pidgin/gtkrequest.c Tue Aug 30 07:20:56 2011 +0000 @@ -749,6 +749,7 @@ 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 @@ } 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 @@ { 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 @@ 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);