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.


SVN revision: 5943
This commit is contained in:
atmosphere 2002-02-16 22:39:19 +00:00 committed by atmosphere
parent 984f643abb
commit 751ea8b62c
1 changed files with 2 additions and 1 deletions

View File

@ -2537,7 +2537,8 @@ e_view_bg_reload_timeout(int val, void *data)
{
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)
{