Enlightenment CVS committal
Author : englebass
Project : e17
Module : libs/etk
Dir : e17/libs/etk/src/lib
Modified Files:
etk_tooltips.c etk_type.c
Log Message:
fix compiler warnings.
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tooltips.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- etk_tooltips.c 28 Sep 2007 19:56:13 -0000 1.16
+++ etk_tooltips.c 8 Jul 2008 04:47:16 -0000 1.17
@@ -23,7 +23,7 @@
* @{
*/
-static Evas_Bool _etk_tooltips_hash_free(Evas_Hash *hash, const char *key,
void *data, void *fdata);
+static Evas_Bool _etk_tooltips_hash_free(const Evas_Hash *hash, const char
*key, void *data, void *fdata);
static Etk_Bool _etk_tooltips_mouse_in_cb(Etk_Object *object,
Etk_Event_Mouse_In *event, void *data);
static Etk_Bool _etk_tooltips_mouse_out_cb(Etk_Object *object,
Etk_Event_Mouse_Out *event, void *data);
static Etk_Bool _etk_tooltips_mouse_move_cb(Etk_Object *object,
Etk_Event_Mouse_Move *event, void *data);
@@ -367,9 +367,8 @@
}
/* free hash items */
-static Evas_Bool _etk_tooltips_hash_free(Evas_Hash *hash, const char *key,
void *data, void *fdata)
+static Evas_Bool _etk_tooltips_hash_free(const Evas_Hash *hash, const char
*key, void *data, void *fdata)
{
- hash = evas_hash_del(hash, key, data);
if(data)
free(data);
return 1;
===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_type.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- etk_type.c 4 Oct 2007 17:01:43 -0000 1.16
+++ etk_type.c 8 Jul 2008 04:47:16 -0000 1.17
@@ -19,9 +19,9 @@
*/
static void _etk_type_free(Etk_Type *type);
-static Evas_Bool _etk_type_free_cb(Evas_Hash *hash, const char *key, void
*data, void *fdata);
-static Evas_Bool _etk_type_property_free_cb(Evas_Hash *hash, const char *key,
void *data, void *fdata);
-static Evas_Bool _etk_type_property_add_to_list(Evas_Hash *hash, const char
*key, void *data, void *fdata);
+static Evas_Bool _etk_type_free_cb(const Evas_Hash *hash, const char *key,
void *data, void *fdata);
+static Evas_Bool _etk_type_property_free_cb(const Evas_Hash *hash, const char
*key, void *data, void *fdata);
+static Evas_Bool _etk_type_property_add_to_list(const Evas_Hash *hash, const
char *key, void *data, void *fdata);
static Evas_Hash *_etk_type_types_hash = NULL;
@@ -418,21 +418,21 @@
}
/* Used by etk_type_shutdown() */
-static Evas_Bool _etk_type_free_cb(Evas_Hash *hash, const char *key, void
*data, void *fdata)
+static Evas_Bool _etk_type_free_cb(const Evas_Hash *hash, const char *key,
void *data, void *fdata)
{
_etk_type_free(data);
return 1;
}
/* Used by _etk_type_free() */
-static Evas_Bool _etk_type_property_free_cb(Evas_Hash *hash, const char *key,
void *data, void *fdata)
+static Evas_Bool _etk_type_property_free_cb(const Evas_Hash *hash, const char
*key, void *data, void *fdata)
{
etk_property_delete(data);
return 1;
}
/* Used by etk_type_property_list() */
-static Evas_Bool _etk_type_property_add_to_list(Evas_Hash *hash, const char
*key, void *data, void *fdata)
+static Evas_Bool _etk_type_property_add_to_list(const Evas_Hash *hash, const
char *key, void *data, void *fdata)
{
Evas_List **properties;
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs