diff options
| author | 2012-09-12 09:18:56 -0700 | |
|---|---|---|
| committer | 2012-09-12 09:18:56 -0700 | |
| commit | 1ae4b80027a97e8fbe553b980dc17ea540000d88 (patch) | |
| tree | baeff455c1161ebd295c0484344a409264f8d1e3 /gtk-gui.c | |
| 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 'gtk-gui.c')
| -rw-r--r-- | gtk-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -355,7 +355,7 @@ static void on_destroy(GtkWidget* w, gpointer data) gtk_main_quit(); } -static void quit(GtkWidget *w, gpointer data) +void quit(GtkWidget *w, gpointer data) { /* Make sure to flush any modified dive data */ update_dive(NULL); |