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>
This commit is contained in:
Dirk Hohndel 2012-09-12 09:18:56 -07:00
parent 1afe36840d
commit 1ae4b80027
3 changed files with 11 additions and 1 deletions

View file

@ -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;