summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorJaehwan Kim <jae.hwan.kim@samsung.com>2015-02-04 18:52:14 +0900
committerJaehwan Kim <jae.hwan.kim@samsung.com>2015-02-04 18:56:18 +0900
commitb6cdcbaf734c921d814f6074faede1fac21150bc (patch)
tree5ded19944152ba1a4f08e0d7bb6ebb410c2f5f63 /src/modules
parent3ad52e4e61dff90fdc2c880bd543b20fe3455eed (diff)
datetime module: include elm_widget_datetime.h instead of elm_priv.h
The external module can't include elm_priv.h. So Elm_Datetime_Module_Data moves in elm_widget_datetime.h
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c
index 81cf9472a..4405e1176 100644
--- a/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c
+++ b/src/modules/datetime_input_ctxpopup/datetime_input_ctxpopup.c
@@ -3,7 +3,7 @@
3#endif 3#endif
4 4
5#include <Elementary.h> 5#include <Elementary.h>
6#include "elm_priv.h" 6#include "elm_widget_datetime.h"
7 7
8#define DATETIME_FIELD_COUNT 6 8#define DATETIME_FIELD_COUNT 6
9#define FIELD_FORMAT_LEN 3 9#define FIELD_FORMAT_LEN 3
@@ -327,7 +327,7 @@ EAPI Elm_Datetime_Module_Data *
327obj_hook(Evas_Object *obj) 327obj_hook(Evas_Object *obj)
328{ 328{
329 Ctxpopup_Module_Data *ctx_mod; 329 Ctxpopup_Module_Data *ctx_mod;
330 ctx_mod = ELM_NEW(Ctxpopup_Module_Data); 330 ctx_mod = calloc(1, sizeof(Ctxpopup_Module_Data));
331 if (!ctx_mod) return NULL; 331 if (!ctx_mod) return NULL;
332 332
333 evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE, 333 evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE,