Wearable fix: 54/192554/3
authorErnest Borowski <e.borowski@partner.samsung.com>
Mon, 5 Nov 2018 12:30:15 +0000 (13:30 +0100)
committerErnest Borowski <e.borowski@partner.samsung.com>
Tue, 6 Nov 2018 11:19:54 +0000 (12:19 +0100)
Remove vconf language change callback in class destructor

Change-Id: Ie686883e9c5859ffe78c1fd1ae9211bb3b75e6b8
Signed-off-by: Ernest Borowski <e.borowski@partner.samsung.com>
src/notification-daemon/ui/PopupCheckWearable.h

index 4e1720a..a6ea88c 100644 (file)
@@ -38,7 +38,9 @@ public:
                        const std::string &privacy, size_t privilegeCount)
         : PopupCheck(parent, msg, privilegeCount), m_pkgId(pkgId), m_privacy(privacy)
     {}
-    ~PopupCheckWearable() {}
+    ~PopupCheckWearable() {
+        vconf_ignore_key_changed(VCONFKEY_LANGSET, &PopupCheckWearable::langChangedCb);
+    }
     static Eina_Bool rotaryChangedCb(void *data, Evas_Object *, Eext_Rotary_Event_Info *info) {
         Evas_Object *scroller = (Evas_Object *)data;
         Evas_Coord sx, sy, sw, sh, y, h;