diff -uNr gau-0.4.1-orig/gau.c gau-0.4.1/gau.c --- gau-0.4.1-orig/gau.c Mon Oct 11 01:01:22 1999 +++ gau-0.4.1/gau.c Mon Oct 11 01:03:46 1999 @@ -86,11 +86,11 @@ GtkWidget *toolbar; int i; + gtk_set_locale(); gtk_init(&argc, &argv); check_personal_rc(); - gtk_set_locale(); if (strcmp(g_basename(argv[0]), "gaui") == 0) { extern int crlf; use_modem = FALSE; diff -uNr gau-0.4.1-orig/toolbar.c gau-0.4.1/toolbar.c --- gau-0.4.1-orig/toolbar.c Mon Oct 11 01:01:22 1999 +++ gau-0.4.1/toolbar.c Mon Oct 11 01:02:21 1999 @@ -16,6 +16,9 @@ /* Åø¹Ù ºÙÀ̱â */ toolbar = gtk_toolbar_new ( GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH ); + if (! GTK_WIDGET_REALIZED (window)) + gtk_widget_realize (window); + /* ¾ÆÀÌÄÜ »ý¼ºÇϰí Åø¹Ù ¾ÆÀÌÅÛ ºÙÀ̱â */ /* now we create icon with mask: we'll reuse it to create * icon widgets for toolbar items */ diff -uNr gau-0.4.1-orig/util.c gau-0.4.1/util.c --- gau-0.4.1-orig/util.c Mon Oct 11 01:01:22 1999 +++ gau-0.4.1/util.c Mon Oct 11 01:04:48 1999 @@ -18,7 +18,8 @@ void ok_cb(GtkWidget *widget, gpointer data) { - exit(1); + gtk_widget_destroy (GTK_WIDGET (data)); + gtk_main_quit (); } @@ -50,7 +51,7 @@ button = gtk_button_new_with_label ("Ok"); /* "Ok" Äݹé ÇÔ¼ö ¼³Á¤ */ gtk_signal_connect(GTK_OBJECT(button), "clicked", \ - GTK_SIGNAL_FUNC(ok_cb), NULL); + GTK_SIGNAL_FUNC(ok_cb), (gpointer) window); /* ¹öư ºÙÀ̱â */ gtk_box_pack_start (GTK_BOX (GTK_DIALOG (window)->action_area),