forked from enlightenment/enlightenment
dont refcount the model twice for the first view
SVN revision: 6009
This commit is contained in:
parent
e45338be4d
commit
fdb0dbc708
|
@ -73,6 +73,8 @@ e_view_model_register_view(E_View_Model *m, E_View *v)
|
|||
D_ENTER;
|
||||
v->model = m;
|
||||
m->views = evas_list_append(m->views, v);
|
||||
/* dont ref the first time */
|
||||
if (m->views->next)
|
||||
e_object_ref (E_OBJECT(v->model));
|
||||
D_RETURN;
|
||||
}
|
||||
|
|
|
@ -1763,7 +1763,6 @@ e_view_update(E_View *v)
|
|||
if (v->options.back_pixmap)
|
||||
{
|
||||
Imlib_Updates up;
|
||||
|
||||
up = evas_render_updates(v->evas);
|
||||
/* special code to handle if we are double buffering to a pixmap */
|
||||
/* and clear sections of the window if they got updated */
|
||||
|
|
Loading…
Reference in New Issue