Mercurial > pidgin
comparison src/gtkrequest.c @ 5816:64a164aa6f70
[gaim-migrate @ 6246]
Just changed a variable name.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 08 Jun 2003 23:17:11 +0000 |
parents | c900fc823a21 |
children | 571e895bf6ba |
comparison
equal
deleted
inserted
replaced
5815:c900fc823a21 | 5816:64a164aa6f70 |
---|---|
390 | 390 |
391 for (gl = gaim_request_fields_get_groups(fields); | 391 for (gl = gaim_request_fields_get_groups(fields); |
392 gl != NULL; | 392 gl != NULL; |
393 gl = gl->next) { | 393 gl = gl->next) { |
394 | 394 |
395 GList *fields; | 395 GList *field_list; |
396 size_t field_count = 0; | 396 size_t field_count = 0; |
397 size_t cols = 1; | 397 size_t cols = 1; |
398 size_t rows; | 398 size_t rows; |
399 size_t col_num; | 399 size_t col_num; |
400 size_t row_num; | 400 size_t row_num; |
401 | 401 |
402 group = gl->data; | 402 group = gl->data; |
403 fields = gaim_request_field_group_get_fields(group); | 403 field_list = gaim_request_field_group_get_fields(group); |
404 | 404 |
405 frame = gaim_gtk_make_frame(vbox, | 405 frame = gaim_gtk_make_frame(vbox, |
406 gaim_request_field_group_get_title(group)); | 406 gaim_request_field_group_get_title(group)); |
407 | 407 |
408 field_count = g_list_length(fields); | 408 field_count = g_list_length(field_list); |
409 | 409 |
410 if (field_count > 9) { | 410 if (field_count > 9) { |
411 rows = field_count / 2; | 411 rows = field_count / 2; |
412 cols++; | 412 cols++; |
413 } | 413 } |
419 gtk_table_set_col_spacings(GTK_TABLE(table), 6); | 419 gtk_table_set_col_spacings(GTK_TABLE(table), 6); |
420 | 420 |
421 gtk_container_add(GTK_CONTAINER(frame), table); | 421 gtk_container_add(GTK_CONTAINER(frame), table); |
422 gtk_widget_show(table); | 422 gtk_widget_show(table); |
423 | 423 |
424 for (col_num = 0, fl = fields; | 424 for (col_num = 0, fl = field_list; |
425 col_num < cols && fl != NULL; | 425 col_num < cols && fl != NULL; |
426 col_num++) { | 426 col_num++) { |
427 | 427 |
428 for (row_num = 0; | 428 for (row_num = 0; |
429 row_num < rows && fl != NULL; | 429 row_num < rows && fl != NULL; |