Mercurial > pidgin
comparison src/dialogs.c @ 2397:520257562955
[gaim-migrate @ 2410]
changing aim_users to GSList. this works better for me since in gaim-core i had them as a GSList. besides, it saves memory.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 30 Sep 2001 19:58:48 +0000 |
parents | a7ecfd3f7714 |
children | 123aaa84109a |
comparison
equal
deleted
inserted
replaced
2396:78fab38249a2 | 2397:520257562955 |
---|---|
961 GtkWidget *hbox; | 961 GtkWidget *hbox; |
962 GtkWidget *label; | 962 GtkWidget *label; |
963 GtkWidget *optmenu; | 963 GtkWidget *optmenu; |
964 GtkWidget *menu; | 964 GtkWidget *menu; |
965 GtkWidget *opt; | 965 GtkWidget *opt; |
966 GList *u = aim_users; | 966 GSList *u = aim_users; |
967 struct aim_user *a; | 967 struct aim_user *a; |
968 | 968 |
969 hbox = gtk_hbox_new(FALSE, 5); | 969 hbox = gtk_hbox_new(FALSE, 5); |
970 gtk_box_pack_start(GTK_BOX(box), hbox, FALSE, FALSE, 0); | 970 gtk_box_pack_start(GTK_BOX(box), hbox, FALSE, FALSE, 0); |
971 gtk_widget_show(hbox); | 971 gtk_widget_show(hbox); |
996 u = u->next; | 996 u = u->next; |
997 } | 997 } |
998 | 998 |
999 gtk_option_menu_set_menu(GTK_OPTION_MENU(optmenu), menu); | 999 gtk_option_menu_set_menu(GTK_OPTION_MENU(optmenu), menu); |
1000 gtk_option_menu_set_history(GTK_OPTION_MENU(optmenu), | 1000 gtk_option_menu_set_history(GTK_OPTION_MENU(optmenu), |
1001 g_list_index(aim_users, | 1001 g_slist_index(aim_users, |
1002 ((struct gaim_connection *)connections->data)->user)); | 1002 ((struct gaim_connection *)connections->data)->user)); |
1003 b->user = ((struct gaim_connection *)connections->data)->user; | 1003 b->user = ((struct gaim_connection *)connections->data)->user; |
1004 | 1004 |
1005 b->menu = optmenu; | 1005 b->menu = optmenu; |
1006 } | 1006 } |