Fix my previous patch to enable esc on window
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 2 Sep 2007 23:37:40 +0000 (23:37 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 2 Sep 2007 23:37:40 +0000 (23:37 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22772 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/uat_gui.c

index bdb1131c27ad82257b694dd6c1de31cee7e39772..f9a908cd7382bcb5f035b831753fbe370d60a7e8 100644 (file)
@@ -1008,7 +1008,7 @@ static GtkWidget* uat_window(void* u) {
        SIGNAL_CONNECT(rep->bt_cancel, "clicked", uat_cancel_cb, uat);
        SIGNAL_CONNECT(rep->bt_ok, "clicked", uat_ok_cb, uat);
 
-    window_set_cancel_button(rep->window, rep->bt_cancel, uat_cancel_cb);  /* set esc to activate cancel button */
+    window_set_cancel_button(rep->window, rep->bt_cancel, NULL);  /* set esc to activate cancel button */
 
        if (uat->changed) {
                SIGNAL_CONNECT(GTK_WINDOW(rep->window), "delete_event", unsaved_dialog, uat);