From 751ea8b62c5f402c67af68d07c717f0f483b71b1 Mon Sep 17 00:00:00 2001 From: atmosphere Date: Sat, 16 Feb 2002 22:39:19 +0000 Subject: [PATCH] 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 --- src/view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/view.c b/src/view.c index 8fb5f3bf3..0aa96d61b 100644 --- a/src/view.c +++ b/src/view.c @@ -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) {