davemds pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/edgar.git/commit/?id=3f954f4675cf2ba6cbc5431b5aa503b26bec1402

commit 3f954f4675cf2ba6cbc5431b5aa503b26bec1402
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Thu Apr 9 20:54:00 2015 +0200

    Fix E19 compatibility
    
    Now edgar works again in E20 and E19, still need to test on E18....
    someone can test it on 18?
---
 src/e_mod_edgar.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/e_mod_edgar.c b/src/e_mod_edgar.c
index d9ad429..55ff56f 100644
--- a/src/e_mod_edgar.c
+++ b/src/e_mod_edgar.c
@@ -449,17 +449,17 @@ edgar_menu_info_cb(void *data, E_Menu *m, E_Menu_Item *mi)
 
    // dialog
 #if E_VERSION_MAJOR >= 19
-   Evas_Object *con = NULL;
+   dia = e_dialog_new(NULL, "gadget_info", "class");
 #else
-   E_Container *con;
-   con = e_container_current_get(e_manager_current_get());
-#endif
+   E_Container *con = e_container_current_get(e_manager_current_get());
    dia = e_dialog_new(con, "gadget_info", "class");
+#endif
+
    e_dialog_resizable_set(dia, 0);
    e_dialog_title_set(dia, "Gadget info");
    e_dialog_button_add(dia, "Close", NULL, NULL, NULL);
 
-#if E_VERSION_MAJOR >= 19
+#if E_VERSION_MAJOR >= 20
    Evas *evas = evas_object_evas_get(dia->win);
 #else
    Evas *evas = dia->win->evas;

-- 


Reply via email to