# HG changeset patch # User Daniel Atallah # Date 1114490122 0 # Node ID a118e50116df09736dea38591059afd9026282b4 # Parent 65d3140f35fd47fca16daa8121286013e7d4986f [gaim-migrate @ 12566] Closing the window using the Excape key wasn't cleaning up, and consequently causing a crash on logout or disconnection committer: Tailor Script diff -r 65d3140f35fd -r a118e50116df src/gtknotify.c --- a/src/gtknotify.c Tue Apr 26 04:03:20 2005 +0000 +++ b/src/gtknotify.c Tue Apr 26 04:35:22 2005 +0000 @@ -330,11 +330,11 @@ } static gboolean -formatted_input_cb(GtkWidget *dialog, GdkEventKey *event, gpointer data) +formatted_input_cb(GtkWidget *win, GdkEventKey *event, gpointer data) { if (event->keyval == GDK_Escape) { - gtk_widget_destroy(dialog); + gaim_notify_close(GAIM_NOTIFY_FORMATTED, win); return TRUE; }