elementary/notify - fixed wrongs.

SVN revision: 60450
This commit is contained in:
ChunEon Park 2011-06-17 12:51:12 +00:00
parent 90aa074a21
commit b8dc8e9a64
1 changed files with 9 additions and 6 deletions

View File

@ -42,6 +42,9 @@ static void _calc(Evas_Object *obj);
static void _content_resize(void *data, Evas *e, Evas_Object *obj, void *event_info);
static void _show(void *data, Evas *e, Evas_Object *obj, void *event_info);
static void _hide(void *data, Evas *e, Evas_Object *obj, void *event_info);
static void _parent_del(void *data, Evas *e, Evas_Object *obj, void *event_info);
static void _parent_hide(void *data, Evas *e, Evas_Object *obj, void *event_info);
static void _resize(void *data, Evas *e, Evas_Object *obj, void *event_info);
static const char SIG_BLOCK_CLICKED[] = "block,clicked";
@ -382,20 +385,20 @@ _hide(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_i
}
static void
_parent_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
_parent_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
{
Widget_Data *wd = elm_widget_data_get(obj);
Widget_Data *wd = elm_widget_data_get(data);
if (!wd) return;
wd->parent = NULL;
evas_object_hide(obj);
evas_object_hide(data);
}
static void
_parent_hide(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
_parent_hide(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
Widget_Data *wd = elm_widget_data_get(obj);
Widget_Data *wd = elm_widget_data_get(data);
if (!wd) return;
evas_object_hide(obj);
evas_object_hide(data);
}
static Eina_Bool