warn--
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 08:08:48 +0000 (08:08 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 08:08:48 +0000 (08:08 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68890 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_map.c

index bc46a7a..85fa44d 100644 (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 *