discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a5e52cbc2d11e9379f98ab36e5495dbc9d9d0d9b

commit a5e52cbc2d11e9379f98ab36e5495dbc9d9d0d9b
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Sep 4 09:31:26 2013 +0100

    add E_Win_Cb typedef
    
    this is mostly cosmetic, but I thought it might be a little more 
descriptive?
---
 src/bin/e_win.c | 2 +-
 src/bin/e_win.h | 8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 4ae57b5..ade5d0f 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -228,7 +228,7 @@ static void
 _e_win_hide(void *obj)
 {
    E_Win *win = obj;
-   Ecore_Cb cb;
+   E_Win_Cb cb;
 
    if (!win->client) return;
    e_object_ref(E_OBJECT(win));
diff --git a/src/bin/e_win.h b/src/bin/e_win.h
index f723cef..65bf6b3 100644
--- a/src/bin/e_win.h
+++ b/src/bin/e_win.h
@@ -9,6 +9,8 @@ typedef enum _E_Win_Layer
 
 typedef struct _E_Win E_Win;
 
+typedef void (*E_Win_Cb)(E_Win*);
+
 #else
 #ifndef E_WIN_H
 #define E_WIN_H
@@ -29,9 +31,9 @@ struct _E_Win
    int                  min_w, min_h, max_w, max_h, base_w, base_h;
    int                  step_x, step_y;
    double               min_aspect, max_aspect;
-   void               (*cb_move) (E_Win *win);
-   void               (*cb_resize) (E_Win *win);
-   void               (*cb_delete) (E_Win *win);
+   E_Win_Cb             cb_move;
+   E_Win_Cb             cb_resize;
+   E_Win_Cb             cb_delete;
    void                *data;
 
    struct {

-- 


Reply via email to