SVN revision: 68890
This commit is contained in:
Carsten Haitzler 2012-03-07 08:08:48 +00:00
parent 5f1aa30a8e
commit 37ecd97950
1 changed files with 14 additions and 15 deletions

View File

@ -927,8 +927,6 @@ _marker_group_update(Marker_Group* group, Elm_Map_Group_Class *clas, Eina_List *
if (group->bubble)
{
Eina_List *l;
Elm_Map_Marker *marker;
Eina_List *contents = NULL;
EINA_LIST_FOREACH(group->markers, l, marker)
@ -1975,21 +1973,22 @@ _icon_dup(Evas_Object *icon, Evas_Object *parent)
// Evas_Object do not support object duplication??
const char *file = NULL, *group = NULL;
Eina_Bool size_up, size_down;
Evas_Object *dup = elm_icon_add(parent);
Evas_Object *dupp;
dupp = elm_icon_add(parent);
elm_icon_file_get(icon, &file, &group);
elm_icon_file_set(dup, file, group);
elm_icon_animated_set(dup, elm_icon_animated_get(icon));
elm_icon_animated_play_set(dup, elm_icon_animated_play_get(icon));
elm_icon_standard_set(dup, elm_icon_standard_get(icon));
elm_icon_order_lookup_set(dup, elm_icon_order_lookup_get(icon));
elm_icon_no_scale_set(dup, elm_icon_no_scale_get(icon));
elm_icon_file_set(dupp, file, group);
elm_icon_animated_set(dupp, elm_icon_animated_get(icon));
elm_icon_animated_play_set(dupp, elm_icon_animated_play_get(icon));
elm_icon_standard_set(dupp, elm_icon_standard_get(icon));
elm_icon_order_lookup_set(dupp, elm_icon_order_lookup_get(icon));
elm_icon_no_scale_set(dupp, elm_icon_no_scale_get(icon));
elm_icon_resizable_get(icon, &size_up, &size_down);
elm_icon_resizable_set(dup, size_up, size_down);
elm_icon_fill_outside_set(dup, elm_icon_fill_outside_get(icon));
elm_icon_prescale_set(dup, elm_icon_prescale_get(icon));
elm_icon_aspect_fixed_set(dup, elm_icon_aspect_fixed_get(icon));
return dup;
elm_icon_resizable_set(dupp, size_up, size_down);
elm_icon_fill_outside_set(dupp, elm_icon_fill_outside_get(icon));
elm_icon_prescale_set(dupp, elm_icon_prescale_get(icon));
elm_icon_aspect_fixed_set(dupp, elm_icon_aspect_fixed_get(icon));
return dupp;
}
static Evas_Object *