diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-10-13 20:13:25 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:30:29 +0300 |
commit | 3d1f43fffd9330a3d1391594d112b56f3d9d2902 (patch) | |
tree | f3afa664e46dbe418509e7fbfd73b001cad56634 /android/jni/com/mapswithme/country/CountryTree.cpp | |
parent | 5772a273c2f899b43cf395977e8ca3c1eddfa6ef (diff) |
[core] notifications refactoring
Diffstat (limited to 'android/jni/com/mapswithme/country/CountryTree.cpp')
-rw-r--r-- | android/jni/com/mapswithme/country/CountryTree.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/android/jni/com/mapswithme/country/CountryTree.cpp b/android/jni/com/mapswithme/country/CountryTree.cpp index d09af54961..3ccbeacebd 100644 --- a/android/jni/com/mapswithme/country/CountryTree.cpp +++ b/android/jni/com/mapswithme/country/CountryTree.cpp @@ -131,13 +131,12 @@ extern "C" JNIEXPORT void JNICALL Java_com_mapswithme_country_CountryTree_setListener(JNIEnv * env, jclass clazz, jobject listener) { - GetTree().SetListener(g_framework->setCountryTreeListener(jni::make_global_ref(listener))); + g_framework->SetCountryTreeListener(jni::make_global_ref(listener)); } JNIEXPORT void JNICALL Java_com_mapswithme_country_CountryTree_resetListener(JNIEnv * env, jclass clazz, jobject listener) { - g_framework->resetCountryTreeListener(); - GetTree().ResetListener(); + g_framework->ResetCountryTreeListener(); } } |