comparison src/multi.c @ 2159:510af3fee78b

[gaim-migrate @ 2169] whoops. forgot about this case. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 23 Aug 2001 18:45:13 +0000
parents cff133e0ec0c
children 1eaf7f02f77e
comparison
equal deleted inserted replaced
2158:9b7cb09e2c06 2159:510af3fee78b
493 GtkWidget *label; 493 GtkWidget *label;
494 GtkWidget *entry; 494 GtkWidget *entry;
495 495
496 char buf[256]; 496 char buf[256];
497 497
498 if (u && u->opt_entries) {
499 g_list_free(u->opt_entries);
500 u->opt_entries = NULL;
501 } else if (!u && tmpusr.opt_entries) {
502 g_list_free(tmpusr.opt_entries);
503 tmpusr.opt_entries = NULL;
504 }
505
498 vbox = gtk_vbox_new(FALSE, 5); 506 vbox = gtk_vbox_new(FALSE, 5);
499 gtk_container_set_border_width(GTK_CONTAINER(vbox), 5); 507 gtk_container_set_border_width(GTK_CONTAINER(vbox), 5);
500 g_snprintf(buf, sizeof(buf), "%s Options", (*p->name)()); 508 g_snprintf(buf, sizeof(buf), "%s Options", (*p->name)());
501 gtk_notebook_append_page(GTK_NOTEBOOK(book), vbox, gtk_label_new(buf)); 509 gtk_notebook_append_page(GTK_NOTEBOOK(book), vbox, gtk_label_new(buf));
502 gtk_widget_show(vbox); 510 gtk_widget_show(vbox);