Ephoto: Trailing whitespace cleanup - memcpy fix.

This commit is contained in:
Stephen Houston 2016-10-11 00:41:45 -05:00
parent 92736b10aa
commit 9f8024bae5
16 changed files with 92 additions and 94 deletions

View File

@ -831,7 +831,6 @@ _monitor_cb(void *data, int type,
entry->item = parent;
_monitor_add(entry);
entry->no_delete = EINA_FALSE;
}
if (!ecore_file_exists(entry->ephoto->config->directory))
{

View File

@ -2165,7 +2165,7 @@ ephoto_single_browser_entry_set(Evas_Object *obj, Ephoto_Entry *entry)
evas_object_image_size_get(v->image, &w, &h);
eh = calloc(1, sizeof(Ephoto_History));
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);
eh->w = w;
eh->h = h;

View File

@ -804,7 +804,6 @@ ephoto_slideshow_show_controls(Ephoto *ephoto)
_add_icon(ss->notify, "preferences-other", _("Settings"), NULL);
evas_object_smart_callback_add(ss->fullscreen_after, "clicked", _settings, ss);
elm_layout_content_set(ephoto->layout, "ephoto.swallow.controls", ss->notify);
}