From 4f02f864386a32b9e55f215d8519b10e923399d5 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Mon, 1 Oct 2012 14:19:52 +0000 Subject: [PATCH] E (Randr): Delete the menu on object deletion. SVN revision: 77274 --- src/modules/conf_randr/e_smart_monitor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index cc6ee2e74..db1eb2787 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -428,6 +428,9 @@ _e_smart_del(Evas_Object *obj) if (!(sd = evas_object_smart_data_get(obj))) return; + /* delete the menu if it exists */ + if (sd->menu) e_object_del(E_OBJECT(sd->menu)); + /* delete callbacks for 'resize' edje signals */ edje_object_signal_callback_del(sd->o_frame, "e,action,resize,in", "e", _e_smart_cb_resize_mouse_in);