aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/e_mod_main.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2011-11-14 21:46:57 +0000
committerBoris Faure <billiob@gmail.com>2011-11-14 21:46:57 +0000
commit27264671d0ff47ac8876b27bc8ef4467e264c152 (patch)
treea7acb839f319378c0a286bcf4e4a1bd88afaab89 /src/modules/temperature/e_mod_main.c
parente: typo. Patch by Fabien Romano from OpenBSD (diff)
downloadenlightenment-27264671d0ff47ac8876b27bc8ef4467e264c152.tar.gz
e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD SVN revision: 65204
Diffstat (limited to 'src/modules/temperature/e_mod_main.c')
-rw-r--r--src/modules/temperature/e_mod_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c
index 0d061db5e..b5b2fb14e 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -17,7 +17,7 @@
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, E_Gadcon_Orient orient);
-static char *_gc_label(E_Gadcon_Client_Class *client_class);
+static const 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);
/* and actually define the gadcon class that this module provides (just 1) */
@@ -170,7 +170,7 @@ _gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient __UNUSED__)
e_gadcon_client_min_size_set(gcc, 16, 16);
}
-static char *
+static const char *
_gc_label(E_Gadcon_Client_Class *client_class __UNUSED__)
{
return _("Temperature");