|
From: <enl...@li...> - 2002-02-16 22:39:21
|
Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : apps/e
Dir : e17/apps/e/src
Modified Files:
view.c
Log Message:
clean up bgs properly(i think)
The old background code(background.c) had
e_object_init(E_OBJECT(bg), (E_Cleanup_Func) e_background_cleanup);
in the e_background_new function which isn't being used anymore
I don't fully understand the way the E_Object stuff would work with this or
if this is ok since ebg is its own separate library now.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/view.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -3 -r1.116 -r1.117
--- view.c 28 Jan 2002 05:41:29 -0000 1.116
+++ view.c 16 Feb 2002 22:39:19 -0000 1.117
@@ -2537,7 +2537,8 @@
{
int size;
- e_object_unref(E_OBJECT(v->bg));
+ e_bg_free(v->bg);
+ /* e_object_unref(E_OBJECT(v->bg)); */
v->bg = NULL;
if (v->evas)
{
|