File destroy-hanja-dialog.patch of Package ami

diff -ru ami-1.2.2.orig/src/edit.c ami-1.2.2/src/edit.c
--- ami-1.2.2.orig/src/edit.c	2003-02-06 06:15:46.000000000 +0100
+++ ami-1.2.2/src/edit.c	2004-01-20 15:26:18.881982715 +0100
@@ -175,6 +175,9 @@
     if (ic->input_style & XIMPreeditCallbacks) {
 	cb_edit_reset(ic);
     }
+    if (ic->han->aux_input) {
+	gtk_signal_emit_by_name (GTK_OBJECT (ic->han->aux_input), "destroy");
+    }    
     ic->han->buf[0] = '\0';
     ic->han->pos = ic->han->len = 0;
     composer_reset(ic->han->composer);
openSUSE Build Service is sponsored by