summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 15:31:38 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-11 15:40:09 -0400
commit5d300bcb46706b6c87e42714d532eed1b41fcb98 (patch)
tree23c9883ea0a34bc25886d261b03cb9ca8ea845d3
parentf25b2ab43438b98fe101b84656e3320d3e60c809 (diff)
fix usage of e_object_unref in xkbswitch when managing new kbd dialog
probably harmless?
-rw-r--r--src/modules/xkbswitch/e_mod_config.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/xkbswitch/e_mod_config.c b/src/modules/xkbswitch/e_mod_config.c
index 1e3748b4b..d0c22450f 100644
--- a/src/modules/xkbswitch/e_mod_config.c
+++ b/src/modules/xkbswitch/e_mod_config.c
@@ -637,7 +637,7 @@ _dlg_add_cb_ok(void *data EINA_UNUSED, E_Dialog *dlg)
637 evas_event_thaw(cfdata->evas); 637 evas_event_thaw(cfdata->evas);
638 638
639 cfdata->dlg_add_new = NULL; 639 cfdata->dlg_add_new = NULL;
640 e_object_unref(E_OBJECT(dlg)); 640 e_object_del(E_OBJECT(dlg));
641 e_config_dialog_changed_set(cfdata->cfd, 1); 641 e_config_dialog_changed_set(cfdata->cfd, 1);
642} 642}
643 643
@@ -646,7 +646,7 @@ _dlg_add_cb_cancel(void *data EINA_UNUSED, E_Dialog *dlg)
646{ 646{
647 E_Config_Dialog_Data *cfdata = dlg->data; 647 E_Config_Dialog_Data *cfdata = dlg->data;
648 cfdata->dlg_add_new = NULL; 648 cfdata->dlg_add_new = NULL;
649 e_object_unref(E_OBJECT(dlg)); 649 e_object_del(E_OBJECT(dlg));
650} 650}
651 651
652static void 652static void
@@ -655,7 +655,6 @@ _dlg_add_cb_del(void *obj)
655 E_Dialog *dlg = obj; 655 E_Dialog *dlg = obj;
656 E_Config_Dialog_Data *cfdata = dlg->data; 656 E_Config_Dialog_Data *cfdata = dlg->data;
657 cfdata->dlg_add_new = NULL; 657 cfdata->dlg_add_new = NULL;
658 e_object_unref(E_OBJECT(dlg));
659} 658}
660 659
661static Eina_Bool 660static Eina_Bool