diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-12 09:18:56 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-12 09:18:56 -0700 |
commit | 1ae4b80027a97e8fbe553b980dc17ea540000d88 (patch) | |
tree | baeff455c1161ebd295c0484344a409264f8d1e3 /display-gtk.h | |
parent | 1afe36840ddbc2d139c1f7e2b3607aecc88d9890 (diff) | |
download | subsurface-1ae4b80027a97e8fbe553b980dc17ea540000d88.tar.gz |
Make sure Subsurface receives Quit / Command-Q callback on Mac
As usual, things work slightly different on Mac. Quartz delivers some (but not
all) accelerator notifications differently. Command-Q and Subsurface->Quit now
work on Mac as well.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r-- | display-gtk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h index e03861d39..9d0ea4ed3 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -49,6 +49,7 @@ extern const char *subsurface_USB_name(void); extern const char *subsurface_icon_name(void); extern void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar, GtkWidget *vbox, GtkUIManager *ui_manager); +extern void quit(GtkWidget *w, gpointer data); extern visible_cols_t visible_cols; |