aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/e_mod_main.c
diff options
context:
space:
mode:
authorDavide Andreoli <dave@gurumeditation.it>2008-11-04 03:57:45 +0000
committerDavide Andreoli <dave@gurumeditation.it>2008-11-04 03:57:45 +0000
commit45cbf7229893f8eb3dd96fbc7be0ec8b8b809057 (patch)
tree9768f5139e998bf2efc22b5c49abf2ce02afa06b /src/modules/temperature/e_mod_main.c
parentMake DnD work when shelf is set to be on the desktop (below everything). (diff)
downloadenlightenment-45cbf7229893f8eb3dd96fbc7be0ec8b8b809057.tar.gz
* Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() and the *orient param to orient(). All the modules (with a gadcon_client) need to be fixed...just add the new params to follow the EXTRA modules update. SVN revision: 37450
Diffstat (limited to 'src/modules/temperature/e_mod_main.c')
-rw-r--r--src/modules/temperature/e_mod_main.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c
index d3cd60cef..b0ce157ba 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -16,11 +16,11 @@
/* gadcon requirements */
static E_Gadcon_Client *_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style);
static void _gc_shutdown(E_Gadcon_Client *gcc);
-static void _gc_orient(E_Gadcon_Client *gcc);
-static char *_gc_label(void);
-static Evas_Object *_gc_icon(Evas *evas);
-static const char *_gc_id_new(void);
-static void _gc_id_del(const char *id);
+static void _gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient);
+static char *_gc_label(E_Gadcon_Client_Class *client_class);
+static Evas_Object *_gc_icon(E_Gadcon_Client_Class *client_class, Evas *evas);
+static const char *_gc_id_new(E_Gadcon_Client_Class *client_class);
+static void _gc_id_del(E_Gadcon_Client_Class *client_class, const char *id);
/* and actually define the gadcon class that this module provides (just 1) */
static const E_Gadcon_Client_Class _gadcon_class =
{
@@ -140,7 +140,7 @@ _gc_shutdown(E_Gadcon_Client *gcc)
}
static void
-_gc_orient(E_Gadcon_Client *gcc)
+_gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient)
{
Config_Face *inst;
@@ -150,13 +150,13 @@ _gc_orient(E_Gadcon_Client *gcc)
}
static char *
-_gc_label(void)
+_gc_label(E_Gadcon_Client_Class *client_class)
{
return _("Temperature");
}
static Evas_Object *
-_gc_icon(Evas *evas)
+_gc_icon(E_Gadcon_Client_Class *client_class, Evas *evas)
{
Evas_Object *o;
char buf[4096];
@@ -169,7 +169,7 @@ _gc_icon(Evas *evas)
}
static const char *
-_gc_id_new(void)
+_gc_id_new(E_Gadcon_Client_Class *client_class)
{
Config_Face *inst;
char id[128];
@@ -189,7 +189,7 @@ _gc_id_new(void)
}
static void
-_gc_id_del(const char *id)
+_gc_id_del(E_Gadcon_Client_Class *client_class, const char *id)
{
/* yes - don't do this. on shutdown gadgets are deleted and this means config
* for them is deleted - that means empty config is saved. keep them around