diff options
author | RichardHitt <rbh00@netcom.com> | 2013-03-17 15:11:23 -0700 |
---|---|---|
committer | RichardHitt <rbh00@netcom.com> | 2013-03-17 15:11:23 -0700 |
commit | ecdcc99280d29994791b8bc3273bf03a670d0b7b (patch) | |
tree | 947e2145e5cf149f0ccfc4d86d77dd2f2b278943 /src/fe-gtk/gtkutil.h | |
parent | e8a78b9aa1398deb69d20d599be2a630f721cafa (diff) |
ESC key will destroy the windows mentioned at issue 211.
This change implements generic routine gtkutil_destroy_on_esc () and adds invocations of it in the requisite window-handling places.
Diffstat (limited to 'src/fe-gtk/gtkutil.h')
-rw-r--r-- | src/fe-gtk/gtkutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-gtk/gtkutil.h b/src/fe-gtk/gtkutil.h index 65b5c079..ad0c36ba 100644 --- a/src/fe-gtk/gtkutil.h +++ b/src/fe-gtk/gtkutil.h @@ -12,6 +12,7 @@ typedef void (*filereqcallback) (void *, char *file); void gtkutil_file_req (const char *title, void *callback, void *userdata, char *filter, char *extensions, int flags); void gtkutil_destroy (GtkWidget * igad, GtkWidget * dgad); +void gtkutil_destroy_on_esc (GtkWidget *win); GtkWidget *gtkutil_button (GtkWidget *box, char *stock, char *tip, void *callback, void *userdata, char *labeltext); void gtkutil_label_new (char *text, GtkWidget * box); |