From 5193ca52407a56d70adf65c0ec0fb80407735bcf Mon Sep 17 00:00:00 2001 From: discomfitor Date: Wed, 4 Jan 2012 01:04:00 +0000 Subject: [PATCH] fix hilarious edje failure in previous commit git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66820 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_frame.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/elm_frame.c b/src/lib/elm_frame.c index 4350cd8..3ca1d91 100644 --- a/src/lib/elm_frame.c +++ b/src/lib/elm_frame.c @@ -186,12 +186,12 @@ _content_unset_hook(Evas_Object *obj, const char *part) } static void -_signal_click(void *data __UNUSED__, Evas_Object *obj, const char *emission __UNUSED__, const char *source __UNUSED__) +_signal_click(Evas_Object *fr, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__) { Widget_Data *wd; - wd = elm_widget_data_get(obj); + wd = elm_widget_data_get(fr); if (!wd) return; - evas_object_smart_callback_call(obj, SIG_CLICKED, NULL); + evas_object_smart_callback_call(fr, SIG_CLICKED, NULL); } EAPI Evas_Object * @@ -222,8 +222,8 @@ elm_frame_add(Evas_Object *parent) elm_widget_resize_object_set(obj, wd->frm); evas_object_smart_callback_add(obj, "sub-object-del", _sub_del, obj); - edje_object_signal_callback_add(obj, "elm,action,click", "elm", - _signal_click, NULL); + edje_object_signal_callback_add(wd->frm, "elm,action,click", "elm", + (Edje_Signal_Cb)_signal_click, obj); evas_object_smart_callbacks_descriptions_set(obj, _signals); _mirrored_set(obj, elm_widget_mirrored_get(obj)); -- 2.7.4