summaryrefslogtreecommitdiff
path: root/src/lib/elm_theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_theme.c')
-rw-r--r--src/lib/elm_theme.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/elm_theme.c b/src/lib/elm_theme.c
index d6f47f020..9ba16f5fe 100644
--- a/src/lib/elm_theme.c
+++ b/src/lib/elm_theme.c
@@ -31,8 +31,16 @@ _elm_theme_item_finalize(Elm_Theme_Files *files,
31 Eina_File *f, 31 Eina_File *f,
32 Eina_Bool prepend) 32 Eina_Bool prepend)
33{ 33{
34 char *version;
35
34 if (!f) return; 36 if (!f) return;
35 37 if (!(version = edje_mmap_data_get(f, "version"))) return;
38 if (atoi(version) < 110) // bump this version number when we need to
39 {
40 free(version);
41 return;
42 }
43 free(version);
36 if (prepend) 44 if (prepend)
37 { 45 {
38 files->items = eina_list_prepend(files->items, 46 files->items = eina_list_prepend(files->items,