summary refs log tree commit diff stats
path: root/src/fe-gtk/gtkutil.h
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-03-17 16:16:46 -0700
committerTingPing <tngpng@gmail.com>2013-03-17 16:16:46 -0700
commit20e352217731a13a7674d5a962e6d7e8bef49423 (patch)
tree5edcfdc924f26e6b8fa4823ae56a12ce63d9c5da /src/fe-gtk/gtkutil.h
parent89d62ee4f8e563fe083b7d6132768cc5c8c63910 (diff)
parentc9540df92d70025b0ec9a66e2a21cbae7c97bd26 (diff)
Merge pull request #455 from RichardHitt/escape
Let the ESC key close certain windows.  Closes #211
Diffstat (limited to 'src/fe-gtk/gtkutil.h')
-rw-r--r--src/fe-gtk/gtkutil.h1
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);