Ephoto: Trailing whitespace cleanup - memcpy fix.
This commit is contained in:
parent
92736b10aa
commit
9f8024bae5
|
@ -831,7 +831,6 @@ _monitor_cb(void *data, int type,
|
||||||
entry->item = parent;
|
entry->item = parent;
|
||||||
_monitor_add(entry);
|
_monitor_add(entry);
|
||||||
entry->no_delete = EINA_FALSE;
|
entry->no_delete = EINA_FALSE;
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!ecore_file_exists(entry->ephoto->config->directory))
|
if (!ecore_file_exists(entry->ephoto->config->directory))
|
||||||
{
|
{
|
||||||
|
|
|
@ -2165,7 +2165,7 @@ ephoto_single_browser_entry_set(Evas_Object *obj, Ephoto_Entry *entry)
|
||||||
evas_object_image_size_get(v->image, &w, &h);
|
evas_object_image_size_get(v->image, &w, &h);
|
||||||
eh = calloc(1, sizeof(Ephoto_History));
|
eh = calloc(1, sizeof(Ephoto_History));
|
||||||
eh->im_data = malloc(sizeof(unsigned int) * w * h);
|
eh->im_data = malloc(sizeof(unsigned int) * w * h);
|
||||||
eh->im_data = memcpy(eh->im_data, evas_object_image_data_get(v->image, EINA_FALSE),
|
memcpy(eh->im_data, evas_object_image_data_get(v->image, EINA_FALSE),
|
||||||
sizeof(unsigned int) * w * h);
|
sizeof(unsigned int) * w * h);
|
||||||
eh->w = w;
|
eh->w = w;
|
||||||
eh->h = h;
|
eh->h = h;
|
||||||
|
|
|
@ -804,7 +804,6 @@ ephoto_slideshow_show_controls(Ephoto *ephoto)
|
||||||
_add_icon(ss->notify, "preferences-other", _("Settings"), NULL);
|
_add_icon(ss->notify, "preferences-other", _("Settings"), NULL);
|
||||||
evas_object_smart_callback_add(ss->fullscreen_after, "clicked", _settings, ss);
|
evas_object_smart_callback_add(ss->fullscreen_after, "clicked", _settings, ss);
|
||||||
|
|
||||||
|
|
||||||
elm_layout_content_set(ephoto->layout, "ephoto.swallow.controls", ss->notify);
|
elm_layout_content_set(ephoto->layout, "ephoto.swallow.controls", ss->notify);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue