From 54382e7de071d34d05141a7d57c0cc534980612c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Tue, 6 Mar 2012 00:19:31 +0000 Subject: [PATCH] Let the world know we don't modify the theme when we ask for an internal list SVN revision: 68751 --- legacy/elementary/src/lib/elm_theme.c | 4 ++-- legacy/elementary/src/lib/elm_theme.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/legacy/elementary/src/lib/elm_theme.c b/legacy/elementary/src/lib/elm_theme.c index 98819e07eb..a3ab538971 100644 --- a/legacy/elementary/src/lib/elm_theme.c +++ b/legacy/elementary/src/lib/elm_theme.c @@ -436,7 +436,7 @@ elm_theme_overlay_del(Elm_Theme *th, const char *item) } EAPI const Eina_List * -elm_theme_overlay_list_get(Elm_Theme *th) +elm_theme_overlay_list_get(const Elm_Theme *th) { if (!th) th = &(theme_default); return th->overlay; @@ -472,7 +472,7 @@ elm_theme_extension_del(Elm_Theme *th, const char *item) } EAPI const Eina_List * -elm_theme_extension_list_get(Elm_Theme *th) +elm_theme_extension_list_get(const Elm_Theme *th) { if (!th) th = &(theme_default); return th->extension; diff --git a/legacy/elementary/src/lib/elm_theme.h b/legacy/elementary/src/lib/elm_theme.h index 0fdb8fa971..86cc0c103a 100644 --- a/legacy/elementary/src/lib/elm_theme.h +++ b/legacy/elementary/src/lib/elm_theme.h @@ -187,7 +187,7 @@ EAPI void elm_theme_overlay_del(Elm_Theme *th, const char *item); * * @see elm_theme_overlay_add() */ -EAPI const Eina_List *elm_theme_overlay_list_get(Elm_Theme *th); +EAPI const Eina_List *elm_theme_overlay_list_get(const Elm_Theme *th); /** * Appends a theme extension to the list of extensions. @@ -228,7 +228,7 @@ EAPI void elm_theme_extension_del(Elm_Theme *th, const char *item); * * @see elm_theme_extension_add() */ -EAPI const Eina_List *elm_theme_extension_list_get(Elm_Theme *th); +EAPI const Eina_List *elm_theme_extension_list_get(const Elm_Theme *th); /** * Set the theme search order for the given theme