Home | History | Annotate | Download | only in gobject

Lines Matching full:wstack

1943   WeakRefStack *wstack = data;
1946 for (i = 0; i < wstack->n_weak_refs; i++)
1947 wstack->weak_refs[i].notify (wstack->weak_refs[i].data, wstack->object);
1948 g_free (wstack);
1968 WeakRefStack *wstack;
1975 wstack = g_datalist_id_remove_no_notify (&object->qdata, quark_weak_refs);
1976 if (wstack)
1978 i = wstack->n_weak_refs++;
1979 wstack = g_realloc (wstack, sizeof (*wstack) + sizeof (wstack->weak_refs[0]) * i);
1983 wstack = g_renew (WeakRefStack, NULL, 1);
1984 wstack->object = object;
1985 wstack->n_weak_refs = 1;
1988 wstack->weak_refs[i].notify = notify;
1989 wstack->weak_refs[i].data = data;
1990 g_datalist_id_set_data_full (&object->qdata, quark_weak_refs, wstack, weak_refs_notify);
2006 WeakRefStack *wstack;
2012 wstack = g_datalist_id_get_data (&object->qdata, quark_weak_refs);
2013 if (wstack)
2017 for (i = 0; i < wstack->n_weak_refs; i++)
2018 if (wstack->weak_refs[i].notify == notify &&
2019 wstack->weak_refs[i].data == data)
2022 wstack->n_weak_refs -= 1;
2023 if (i != wstack->n_weak_refs)
2024 wstack->weak_refs[i] = wstack->weak_refs[wstack->n_weak_refs];