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:
15078aa
)
used ELM_NEW instead of malloc
author
shilpa singh
<shilpa.singh@samsung.com>
Tue, 24 Aug 2010 08:19:24 +0000
(17:19 +0900)
committer
shilpa singh
<shilpa.singh@samsung.com>
Tue, 24 Aug 2010 08:19:24 +0000
(17:19 +0900)
src/lib/elm_popup.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_popup.c
b/src/lib/elm_popup.c
index
b4841b1
..
0fe591c
100644
(file)
--- a/
src/lib/elm_popup.c
+++ b/
src/lib/elm_popup.c
@@
-266,7
+266,7
@@
_elm_popup_add_button(Evas_Object *obj, const char *text, int response_id)
Evas_Object *btn;
\r
\r
if (!wd) return NULL;
\r
Evas_Object *btn;
\r
\r
if (!wd) return NULL;
\r
- Action_Area_Data *adata = ELM_NEW(
sizeof(Action_Area_Data)
);
\r
+ Action_Area_Data *adata = ELM_NEW(
Action_Area_Data
);
\r
btn = elm_button_add(obj);
\r
snprintf(buf, sizeof(buf), "popup_button/%s", elm_widget_style_get(obj));
\r
elm_object_style_set(btn, buf);
\r
btn = elm_button_add(obj);
\r
snprintf(buf, sizeof(buf), "popup_button/%s", elm_widget_style_get(obj));
\r
elm_object_style_set(btn, buf);
\r