From 06dfe37359916c47fca9825b761a54181c2b93eb Mon Sep 17 00:00:00 2001 From: David Steele Date: Fri, 2 Jul 2021 11:50:59 +0100 Subject: [PATCH] Disabling Efreet icon cache Change-Id: I83c26470062494463b9b50f4e6e9a06120b9a6d4 --- dali/internal/adaptor/ubuntu/framework-ubuntu.cpp | 2 ++ dali/internal/system/linux/dali-efreet.h | 24 +++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 dali/internal/system/linux/dali-efreet.h diff --git a/dali/internal/adaptor/ubuntu/framework-ubuntu.cpp b/dali/internal/adaptor/ubuntu/framework-ubuntu.cpp index a0d1c15..38e3d76 100644 --- a/dali/internal/adaptor/ubuntu/framework-ubuntu.cpp +++ b/dali/internal/adaptor/ubuntu/framework-ubuntu.cpp @@ -21,6 +21,7 @@ // EXTERNAL INCLUDES #include #include +#include #include #include @@ -163,6 +164,7 @@ void Framework::Run() { mRunning = true; + efreet_cache_disable(); elm_init(mArgc ? *mArgc : 0, mArgv ? *mArgv : nullptr); Impl::AppCreate(this); diff --git a/dali/internal/system/linux/dali-efreet.h b/dali/internal/system/linux/dali-efreet.h new file mode 100644 index 0000000..ab6a980 --- /dev/null +++ b/dali/internal/system/linux/dali-efreet.h @@ -0,0 +1,24 @@ +#ifndef DALI_INTERNAL_SYSTEM_LINUX_DALI_EFREET_H +#define DALI_INTERNAL_SYSTEM_LINUX_DALI_EFREET_H + +/* + * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +#pragma GCC system_header +#include + +#endif /* DALI_INTERNAL_SYSTEM_LINUX_DALI_EFREET_H */ -- 2.7.4