main: exit on close.
We don't lose any data so just exit here.
This commit is contained in:
parent
9b98d23f41
commit
8ddde14287
10
src/main.c
10
src/main.c
|
@ -2,20 +2,16 @@
|
|||
See LICENSE file for details.
|
||||
*/
|
||||
|
||||
#define VERSION "0.2.3"
|
||||
#define VERSION "0.2.6"
|
||||
|
||||
#include "process.h"
|
||||
#include "system.h"
|
||||
#include "ui.h"
|
||||
|
||||
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;
|
||||
|
||||
ui = data;
|
||||
|
||||
ui_shutdown(ui);
|
||||
exit(0)r;
|
||||
}
|
||||
|
||||
static Evas_Object *
|
||||
|
|
Loading…
Reference in New Issue