mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
client: Remove WL_ZOMBIE_OBJECT global
Since we now have the WL_MAP_ENTRY_ZOMBIE flag to determine whether or
not a client-side object is a zombie, we can remove the faux object.
[daniels: Extracted from Derek's bespoke-zombie patch as an intermediate
step.]
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
712ba320db
commit
c380adc554
3 changed files with 1 additions and 6 deletions
|
|
@ -411,7 +411,7 @@ proxy_destroy(struct wl_proxy *proxy)
|
|||
wl_map_insert_at(&proxy->display->objects,
|
||||
WL_MAP_ENTRY_ZOMBIE,
|
||||
proxy->object.id,
|
||||
WL_ZOMBIE_OBJECT);
|
||||
NULL);
|
||||
} else {
|
||||
wl_map_insert_at(&proxy->display->objects, 0,
|
||||
proxy->object.id, NULL);
|
||||
|
|
|
|||
|
|
@ -57,9 +57,6 @@ struct wl_object {
|
|||
uint32_t id;
|
||||
};
|
||||
|
||||
extern struct wl_object global_zombie_object;
|
||||
#define WL_ZOMBIE_OBJECT ((void*)&global_zombie_object)
|
||||
|
||||
int
|
||||
wl_interface_equal(const struct wl_interface *iface1,
|
||||
const struct wl_interface *iface2);
|
||||
|
|
|
|||
|
|
@ -153,8 +153,6 @@ wl_array_copy(struct wl_array *array, struct wl_array *source)
|
|||
|
||||
/** \cond */
|
||||
|
||||
struct wl_object global_zombie_object;
|
||||
|
||||
int
|
||||
wl_interface_equal(const struct wl_interface *a, const struct wl_interface *b)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue