okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=f45273dbaaf6b66895168fb09bd1cf76b557b59a

commit f45273dbaaf6b66895168fb09bd1cf76b557b59a
Author: Stephen Houston <[email protected]>
Date:   Wed Dec 2 19:22:15 2015 -0600

    Ephoto: Make sure to delete the entry item when deleted from single view.
---
 src/bin/ephoto_single_browser.c | 1 +
 src/bin/ephoto_thumb_browser.c  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c
index 5019721..ecc91cc 100644
--- a/src/bin/ephoto_single_browser.c
+++ b/src/bin/ephoto_single_browser.c
@@ -2429,6 +2429,7 @@ _entry_free(void *data, const Ephoto_Entry *entry)
    if (entry == sb->entry)
      {
         _next_entry(sb);
+        elm_object_item_del(entry->item);
      }
 }
 
diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c
index a81eca7..3f660fa 100644
--- a/src/bin/ephoto_thumb_browser.c
+++ b/src/bin/ephoto_thumb_browser.c
@@ -480,7 +480,7 @@ _todo_items_process(void *data)
           if (entry->item)
             {
                elm_object_item_data_set(entry->item, entry);
-            }
+             }
            else
             {
                ephoto_entry_free(tb->ephoto, entry);

-- 


Reply via email to