From: Enlightenment S. <no-...@en...> - 2011-11-14 22:23:42
|
Log: e: some more const to _gc_label() Author: billiob Date: 2011-11-14 14:23:36 -0800 (Mon, 14 Nov 2011) New Revision: 65209 Trac: http://trac.enlightenment.org/e/changeset/65209 Modified: trunk/e/src/modules/fileman_opinfo/e_mod_main.c trunk/e/src/modules/notification/e_mod_main.c Modified: trunk/e/src/modules/fileman_opinfo/e_mod_main.c =================================================================== --- trunk/e/src/modules/fileman_opinfo/e_mod_main.c 2011-11-14 22:17:19 UTC (rev 65208) +++ trunk/e/src/modules/fileman_opinfo/e_mod_main.c 2011-11-14 22:23:36 UTC (rev 65209) @@ -16,7 +16,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); @@ -403,7 +403,7 @@ e_gadcon_client_min_size_set(gcc, mw, mh); } -static char * +static const char * _gc_label(E_Gadcon_Client_Class *client_class __UNUSED__) { return _("EFM Operation Info"); Modified: trunk/e/src/modules/notification/e_mod_main.c =================================================================== --- trunk/e/src/modules/notification/e_mod_main.c 2011-11-14 22:17:19 UTC (rev 65208) +++ trunk/e/src/modules/notification/e_mod_main.c 2011-11-14 22:23:36 UTC (rev 65209) @@ -6,7 +6,7 @@ const char *id, const char *style); static void _gc_shutdown(E_Gadcon_Client *gcc); -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); @@ -122,7 +122,7 @@ e_gadcon_client_min_size_set(gcc, 16, 16); } -static char * +static const char * _gc_label(E_Gadcon_Client_Class *client_class __UNUSED__) { return _("Notification Box"); |