summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-07-20 01:38:09 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-07-20 01:38:09 +0000
commit9976c65a7d89ebfab375c9623d3c400cb09b7a42 (patch)
tree54fefe6c0c079cb40890310f7cd81cf98298e5dc /src/bin
parentcf055cc1b213e41f8a69c89b586ab67938148111 (diff)
terminology: just say no to drug !
SVN revision: 74198
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 771e4f3..93c945c 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -17,12 +17,11 @@ static Evas_Object *popmedia = NULL;
17static Evas_Object *conform = NULL; 17static Evas_Object *conform = NULL;
18static Ecore_Timer *flush_timer = NULL; 18static Ecore_Timer *flush_timer = NULL;
19static Eina_Bool focused = EINA_FALSE; 19static Eina_Bool focused = EINA_FALSE;
20static Eina_Bool win_deleted = EINA_FALSE;
21 20
22static void 21static void
23_cb_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 22_cb_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__)
24{ 23{
25 win_deleted = EINA_TRUE; 24 win = NULL;
26} 25}
27 26
28static void 27static void
@@ -505,7 +504,7 @@ elm_main(int argc, char **argv)
505 config_del(config); 504 config_del(config);
506 config_shutdown(); 505 config_shutdown();
507 506
508 if (!win_deleted) evas_object_del(win); 507 if (win) evas_object_del(win);
509 508
510 eina_log_domain_unregister(_log_domain); 509 eina_log_domain_unregister(_log_domain);
511 _log_domain = -1; 510 _log_domain = -1;