Mercurial > pidgin
comparison src/dialogs.c @ 1157:27c528068f28
[gaim-migrate @ 1167]
No more segfault. :)
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Tue, 28 Nov 2000 10:39:35 +0000 |
| parents | b6b2d26a4e2f |
| children | cae996433dc5 |
comparison
equal
deleted
inserted
replaced
| 1156:b6b2d26a4e2f | 1157:27c528068f28 |
|---|---|
| 1115 gtk_box_pack_start(GTK_BOX(hbox), optmenu, FALSE, FALSE, 0); | 1115 gtk_box_pack_start(GTK_BOX(hbox), optmenu, FALSE, FALSE, 0); |
| 1116 gtk_widget_show(optmenu); | 1116 gtk_widget_show(optmenu); |
| 1117 | 1117 |
| 1118 menu = gtk_menu_new(); | 1118 menu = gtk_menu_new(); |
| 1119 | 1119 |
| 1120 /* We should go ahead and set this in order to prevent problems */ | |
| 1121 if (u) { | |
| 1122 a = (struct aim_user *)u->data; | |
| 1123 b->user = a; | |
| 1124 } | |
| 1125 | |
| 1120 while (u) { | 1126 while (u) { |
| 1121 a = (struct aim_user *)u->data; | 1127 a = (struct aim_user *)u->data; |
| 1122 opt = gtk_menu_item_new_with_label(a->username); | 1128 opt = gtk_menu_item_new_with_label(a->username); |
| 1123 gtk_object_set_user_data(GTK_OBJECT(opt), a); | 1129 gtk_object_set_user_data(GTK_OBJECT(opt), a); |
| 1124 gtk_signal_connect(GTK_OBJECT(opt), "activate", GTK_SIGNAL_FUNC(pounce_choose), b); | 1130 gtk_signal_connect(GTK_OBJECT(opt), "activate", GTK_SIGNAL_FUNC(pounce_choose), b); |
