aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_dialog.h
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-09 09:21:59 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-09 09:21:59 +0000
commit361376a48bc6eddbb9ebb34c3df201379b003542 (patch)
treeea92c7b9d8c4000a5351bd381aab33152d5353f1 /src/bin/e_dialog.h
parentDear all. (diff)
downloadenlightenment-361376a48bc6eddbb9ebb34c3df201379b003542.tar.gz
typedef for E_Dialog_Cb
SVN revision: 75036
Diffstat (limited to 'src/bin/e_dialog.h')
-rw-r--r--src/bin/e_dialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/e_dialog.h b/src/bin/e_dialog.h
index f69236087..e34056722 100644
--- a/src/bin/e_dialog.h
+++ b/src/bin/e_dialog.h
@@ -26,9 +26,11 @@ struct _E_Dialog
unsigned char resizable : 1;
};
+typedef void (*E_Dialog_Cb)(void *data, E_Dialog *dia);
+
EAPI E_Dialog *e_dialog_new (E_Container *con, const char *name, const char *class);
EAPI E_Dialog *e_dialog_normal_win_new (E_Container *con, const char *name, const char *class);
-EAPI void e_dialog_button_add (E_Dialog *dia, const char *label, const char *icon, void (*func) (void *data, E_Dialog *dia), void *data);
+EAPI void e_dialog_button_add (E_Dialog *dia, const char *label, const char *icon, E_Dialog_Cb func, void *data);
EAPI int e_dialog_button_focus_num (E_Dialog *dia, int button);
EAPI int e_dialog_button_disable_num_set (E_Dialog *dia, int button, int disabled);
EAPI int e_dialog_button_disable_num_get (E_Dialog *dia, int button);