summaryrefslogtreecommitdiff
path: root/src/modules/clock
diff options
context:
space:
mode:
authorDan Sinclair <dj2>2005-04-12 03:34:31 +0000
committerDan Sinclair <dj2@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-04-12 03:34:31 +0000
commitfebbbe4a1c99eb4e4bd7eea8d4b27c137d56a239 (patch)
tree6cf078218f1f46947ac50cf4e10b2644abd0d300 /src/modules/clock
parent0b0a77ec2337cf2a0bbe13dba86b5c85904d5c4a (diff)
- change the names of the module entry points. This will break other
modules. init -> e_modapi_init shutdown -> e_modapi_shutdown about -> e_modapi_about info -> e_modapi_info save -> e_modapi_save SVN revision: 14151
Diffstat (limited to '')
-rw-r--r--src/modules/clock/e_mod_main.c10
-rw-r--r--src/modules/clock/e_mod_main.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/clock/e_mod_main.c b/src/modules/clock/e_mod_main.c
index 8d80dbcbe..e7fd067d2 100644
--- a/src/modules/clock/e_mod_main.c
+++ b/src/modules/clock/e_mod_main.c
@@ -30,7 +30,7 @@ static E_Config_DD *conf_face_edd;
30 30
31/* public module routines. all modules must have these */ 31/* public module routines. all modules must have these */
32void * 32void *
33init(E_Module *module) 33e_modapi_init(E_Module *module)
34{ 34{
35 Clock *clock; 35 Clock *clock;
36 36
@@ -54,7 +54,7 @@ init(E_Module *module)
54} 54}
55 55
56int 56int
57shutdown(E_Module *module) 57e_modapi_shutdown(E_Module *module)
58{ 58{
59 Clock *clock; 59 Clock *clock;
60 60
@@ -69,7 +69,7 @@ shutdown(E_Module *module)
69} 69}
70 70
71int 71int
72save(E_Module *module) 72e_modapi_save(E_Module *module)
73{ 73{
74 Clock *clock; 74 Clock *clock;
75 75
@@ -79,7 +79,7 @@ save(E_Module *module)
79} 79}
80 80
81int 81int
82info(E_Module *module) 82e_modapi_info(E_Module *module)
83{ 83{
84 char buf[4096]; 84 char buf[4096];
85 85
@@ -90,7 +90,7 @@ info(E_Module *module)
90} 90}
91 91
92int 92int
93about(E_Module *module) 93e_modapi_about(E_Module *module)
94{ 94{
95 e_error_dialog_show(_("Enlightenment Clock Module"), 95 e_error_dialog_show(_("Enlightenment Clock Module"),
96 _("A simple module to give E17 a clock.")); 96 _("A simple module to give E17 a clock."));
diff --git a/src/modules/clock/e_mod_main.h b/src/modules/clock/e_mod_main.h
index 0d58179b1..529f152cc 100644
--- a/src/modules/clock/e_mod_main.h
+++ b/src/modules/clock/e_mod_main.h
@@ -39,10 +39,10 @@ struct _Clock_Face
39 E_Gadman_Client *gmc; 39 E_Gadman_Client *gmc;
40}; 40};
41 41
42EAPI void *init (E_Module *module); 42EAPI void *e_modapi_init (E_Module *module);
43EAPI int shutdown (E_Module *module); 43EAPI int e_modapi_shutdown (E_Module *module);
44EAPI int save (E_Module *module); 44EAPI int e_modapi_save (E_Module *module);
45EAPI int info (E_Module *module); 45EAPI int e_modapi_info (E_Module *module);
46EAPI int about (E_Module *module); 46EAPI int e_modapi_about (E_Module *module);
47 47
48#endif 48#endif