main: exit on close.

We don't lose any data so just exit here.
This commit is contained in:
Alastair Poole 2019-08-30 20:44:28 +01:00
parent 9b98d23f41
commit 8ddde14287
1 changed files with 3 additions and 7 deletions

View File

@ -2,20 +2,16 @@
See LICENSE file for details. See LICENSE file for details.
*/ */
#define VERSION "0.2.3" #define VERSION "0.2.6"
#include "process.h" #include "process.h"
#include "system.h" #include "system.h"
#include "ui.h" #include "ui.h"
static void static void
_win_del_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) _win_del_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{ {
Ui *ui; exit(0)r;
ui = data;
ui_shutdown(ui);
} }
static Evas_Object * static Evas_Object *