forked from enlightenment/efl
parent
baf0b67a9d
commit
ab792e1e8f
|
@ -553,7 +553,7 @@ l3_smooth_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
|||
}
|
||||
|
||||
static void
|
||||
l3_hidden_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
||||
l3_hidden_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
{
|
||||
Evas_Object *win = data;
|
||||
Evas_Object *mb;
|
||||
|
|
|
@ -375,7 +375,6 @@ _elm_config_profiles_list(void)
|
|||
const Eina_File_Direct_Info *info;
|
||||
Eina_List *flist = NULL;
|
||||
Eina_Iterator *file_it;
|
||||
struct stat buffer;
|
||||
char buf[PATH_MAX];
|
||||
const char *dir;
|
||||
size_t len;
|
||||
|
@ -454,7 +453,6 @@ _elm_config_profiles_list(void)
|
|||
|
||||
#undef S_ISDIR_CASE_DO
|
||||
|
||||
it_free:
|
||||
eina_iterator_free(file_it);
|
||||
|
||||
list_free:
|
||||
|
|
|
@ -85,16 +85,16 @@ _signal_callback_add_hook(Evas_Object *obj, const char *emission, const char *so
|
|||
edje_object_signal_callback_add(icon_edje, emission, source, func_cb, data);
|
||||
}
|
||||
|
||||
static void *
|
||||
_signal_callback_del_hook(Evas_Object *obj, const char *emission, const char *source, void (*func_cb) (void *data, Evas_Object *o, const char *emission, const char *source))
|
||||
static void
|
||||
_signal_callback_del_hook(Evas_Object *obj, const char *emission, const char *source, void (*func_cb) (void *data, Evas_Object *o, const char *emission, const char *source), void *data)
|
||||
{
|
||||
Widget_Data *wd = elm_widget_data_get(obj);
|
||||
if (!wd) return NULL;
|
||||
if (!wd) return;
|
||||
Evas_Object *icon_edje;
|
||||
icon_edje = _els_smart_icon_edje_get(wd->img);
|
||||
if (!icon_edje) return NULL;
|
||||
return edje_object_signal_callback_del(icon_edje, emission, source,
|
||||
func_cb);
|
||||
if (!icon_edje) return;
|
||||
edje_object_signal_callback_del_full(icon_edje, emission, source, func_cb,
|
||||
data);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue