projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b431c67
)
elm_separator.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sat, 5 Oct 2013 08:15:43 +0000
(17:15 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sat, 5 Oct 2013 08:15:43 +0000
(17:15 +0900)
src/lib/elm_separator.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_separator.c
b/src/lib/elm_separator.c
index
3797fc2
..
3b6e9fc
100644
(file)
--- a/
src/lib/elm_separator.c
+++ b/
src/lib/elm_separator.c
@@
-38,8
+38,7
@@
static void
_elm_separator_smart_sizing_eval(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
-
- Elm_Widget_Smart_Data *wd = eo_data_scope_get(obj, ELM_OBJ_WIDGET_CLASS);
+ ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
edje_object_size_min_calc(wd->resize_obj, &minw, &minh);
evas_object_size_hint_min_set(obj, minw, minh);