Mercurial > pidgin
comparison src/multi.c @ 2164:1eaf7f02f77e
[gaim-migrate @ 2174]
thanks Mike Basinger for pointing out this bug.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 24 Aug 2001 16:33:12 +0000 |
parents | 510af3fee78b |
children | 34ce165132de |
comparison
equal
deleted
inserted
replaced
2163:f47ff201c53c | 2164:1eaf7f02f77e |
---|---|
521 gtk_widget_show(label); | 521 gtk_widget_show(label); |
522 | 522 |
523 entry = gtk_entry_new(); | 523 entry = gtk_entry_new(); |
524 gtk_box_pack_end(GTK_BOX(hbox), entry, FALSE, FALSE, 0); | 524 gtk_box_pack_end(GTK_BOX(hbox), entry, FALSE, FALSE, 0); |
525 gtk_object_set_user_data(GTK_OBJECT(entry), (void *)puo->pos); | 525 gtk_object_set_user_data(GTK_OBJECT(entry), (void *)puo->pos); |
526 if (u->proto_opt[puo->pos][0]) { | 526 if (u && u->proto_opt[puo->pos][0]) { |
527 debug_printf("setting text %s\n", u->proto_opt[puo->pos]); | 527 debug_printf("setting text %s\n", u->proto_opt[puo->pos]); |
528 gtk_entry_set_text(GTK_ENTRY(entry), u->proto_opt[puo->pos]); | 528 gtk_entry_set_text(GTK_ENTRY(entry), u->proto_opt[puo->pos]); |
529 } else { | 529 } else { |
530 gtk_entry_set_text(GTK_ENTRY(entry), puo->def); | 530 gtk_entry_set_text(GTK_ENTRY(entry), puo->def); |
531 } | 531 } |