projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a6cd9a
)
[elm_theme] Added NULL check to elm_theme_get().
author
Daniel Juyung Seo
<juyung.seo@samsung.com>
Wed, 8 Sep 2010 03:05:04 +0000
(12:05 +0900)
committer
Daniel Juyung Seo
<juyung.seo@samsung.com>
Wed, 8 Sep 2010 03:05:04 +0000
(12:05 +0900)
src/lib/elm_theme.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_theme.c
b/src/lib/elm_theme.c
index
70ed1a3
..
308e64f
100644
(file)
--- a/
src/lib/elm_theme.c
+++ b/
src/lib/elm_theme.c
@@
-434,6
+434,7
@@
elm_theme_set(Elm_Theme *th, const char *theme)
EAPI const char *
elm_theme_get(Elm_Theme *th)
{
+ if (!th) th = &(theme_default);
if (!th->theme)
{
Eina_List *l;