Disabling Efreet icon cache 76/260776/3
authorDavid Steele <david.steele@samsung.com>
Fri, 2 Jul 2021 10:50:59 +0000 (11:50 +0100)
committerDavid Steele <david.steele@samsung.com>
Tue, 6 Jul 2021 10:40:52 +0000 (11:40 +0100)
Change-Id: I83c26470062494463b9b50f4e6e9a06120b9a6d4

dali/internal/adaptor/ubuntu/framework-ubuntu.cpp
dali/internal/system/linux/dali-efreet.h [new file with mode: 0644]

index a0d1c15..38e3d76 100644 (file)
@@ -21,6 +21,7 @@
 // EXTERNAL INCLUDES
 #include <X11/Xlib.h>
 #include <dali/internal/system/linux/dali-ecore.h>
+#include <dali/internal/system/linux/dali-efreet.h>
 #include <dali/internal/system/linux/dali-elementary.h>
 
 #include <dali/integration-api/debug.h>
@@ -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 (file)
index 0000000..ab6a980
--- /dev/null
@@ -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 <Efreet.h>
+
+#endif /* DALI_INTERNAL_SYSTEM_LINUX_DALI_EFREET_H */