Enlightenment CVS committal
Author : xcomputerman
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_container.c e_object.h
Log Message:
Restore missing callback, object_check_return
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_container.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- e_container.c 3 Jan 2005 14:14:30 -0000 1.11
+++ e_container.c 3 Jan 2005 20:40:26 -0000 1.12
@@ -8,9 +8,6 @@
/* local subsystem functions */
static void _e_container_free(E_Container *con);
-static void _e_container_cb_bg_mouse_down(void *data, Evas *evas, Evas_Object
*obj, void *event_info);
-static void _e_container_cb_bg_mouse_up(void *data, Evas *evas, Evas_Object
*obj, void *event_info);
-static void _e_container_cb_bg_mouse_move(void *data, Evas *evas, Evas_Object
*obj, void *event_info);
static void _e_container_cb_bg_ecore_evas_resize(Ecore_Evas *ee);
static void _e_container_shape_del(E_Container_Shape *es);
@@ -59,6 +56,8 @@
ecore_evas_avoid_damage_set(con->bg_ecore_evas, 1);
ecore_evas_show(con->bg_ecore_evas);
e_path_evas_append(path_fonts, con->bg_evas);
+
+ ecore_evas_callback_resize_set(con->bg_evas,
_e_container_cb_bg_ecore_evas_resize);
e_pointer_container_set(con);
@@ -138,7 +137,7 @@
Evas_List *
e_container_clients_list_get(E_Container *con)
{
- E_OBJECT_CHECK(con);
+ E_OBJECT_CHECK_RETURN(con, NULL);
return con->clients;
}
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_object.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_object.h 3 Jan 2005 20:35:16 -0000 1.3
+++ e_object.h 3 Jan 2005 20:40:26 -0000 1.4
@@ -10,7 +10,7 @@
/* OBJECT_CHECK is a simple null pointer and magic number check with no */
/* debug output */
-//#define OBJECT_PARANOIA_CHECK
+#define OBJECT_PARANOIA_CHECK
//#define OBJECT_CHECK
#ifndef __GLIBC__
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs