if (GTK_WIDGET_VISIBLE(kanjiDic->scrolledwin_history) != TRUE) gtk_widget_show(kanjiDic->scrolledwin_history);
void history_add(gunichar unicharkanji) {  //GSList *tmp_list_ptr = NULL;  GtkWidget *history_kanji_button;  GtkWidget *history_kanji_label;  gchar history_kanji_labelstr[100];  gchar kanji[6];  gunichar *unichar_list_elem;  int i;  if (kanjiDic->kanji_history_list != NULL) {    if ((*((gunichar *)(kanjiDic->kanji_history_list->data))) == unicharkanji) return;  }  unichar_list_elem = (gunichar *) malloc(sizeof(gunichar));  *unichar_list_elem = unicharkanji;  for (i = 0; i < 6; i++) kanji[i] = 0;  g_unichar_to_utf8(unicharkanji, kanji);   kanjiDic->kanji_history_list = g_slist_prepend(kanjiDic->kanji_history_list, unichar_list_elem);  //strcpy(last_kanji, kanji);    if (gjitenApp->conf->bigkanji == TRUE) {    g_snprintf(history_kanji_labelstr, 100, "<span size=\"large\">%s</span>", kanji);     history_kanji_label = gtk_label_new(NULL);    gtk_label_set_markup(GTK_LABEL(history_kanji_label), history_kanji_labelstr);    gtk_widget_show(history_kanji_label);    history_kanji_button = gtk_button_new();    gtk_container_add(GTK_CONTAINER(history_kanji_button), history_kanji_label);  }  else {      history_kanji_label = gtk_label_new(kanji);      gtk_widget_show(history_kanji_label);      history_kanji_button = gtk_button_new();      gtk_container_add(GTK_CONTAINER(history_kanji_button), history_kanji_label);  }  if ((gjitenApp->conf->normalfont != NULL) && gjitenApp->conf->normalfont_desc != NULL) {    gtk_widget_modify_font(history_kanji_label, gjitenApp->conf->normalfont_desc);  }  g_signal_connect_swapped(G_OBJECT(history_kanji_button), "clicked", G_CALLBACK(kanji_selected), 			   (gpointer) (unichar_list_elem));  gtk_box_pack_start(GTK_BOX(kanjiDic->vbox_history), history_kanji_button, FALSE, FALSE, 0);  gtk_box_reorder_child(GTK_BOX(kanjiDic->vbox_history), history_kanji_button, 0);  gtk_widget_show(history_kanji_button);}