summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-13 03:24:59 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-13 03:24:59 +0900
commit2a8e9eede97fb5ad853add6ca49bbe52718b474c (patch)
tree219818fa98cc8972070ce1dbf1cc61e188b79fb5
parente915999df5d17303390cd80ff7064c5dc79e735a (diff)
elm_dayselector.c: fixed wrong widget style name set on smart add.
-rw-r--r--src/lib/elm_dayselector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elm_dayselector.c b/src/lib/elm_dayselector.c
index 8a7190882..e2e1da560 100644
--- a/src/lib/elm_dayselector.c
+++ b/src/lib/elm_dayselector.c
@@ -434,7 +434,8 @@ _elm_dayselector_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
434 eo_do_super(obj, MY_CLASS, evas_obj_smart_add()); 434 eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
435 elm_widget_sub_object_parent_add(obj); 435 elm_widget_sub_object_parent_add(obj);
436 436
437 if (!elm_layout_theme_set(obj, "dayselector", "base", "dayselector")) 437 if (!elm_layout_theme_set(obj, "dayselector", "base",
438 elm_widget_style_get(obj)))
438 CRITICAL("Failed to set layout!"); 439 CRITICAL("Failed to set layout!");
439 440
440 priv->week_start = _elm_config->week_start; 441 priv->week_start = _elm_config->week_start;