mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
wayland: Add global_remove handler
Do not crash on wl_registry.global_remove events anymore. https://bugzilla.gnome.org/show_bug.cgi?id=692899
This commit is contained in:
parent
e437016a65
commit
e335a3fd31
@ -151,9 +151,15 @@ gdk_registry_handle_global(void *data, struct wl_registry *registry, uint32_t id
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
gdk_registry_handle_global_remove(void *data,
|
||||
struct wl_registry *registry, uint32_t name)
|
||||
{
|
||||
}
|
||||
|
||||
static const struct wl_registry_listener registry_listener = {
|
||||
gdk_registry_handle_global
|
||||
gdk_registry_handle_global,
|
||||
gdk_registry_handle_global_remove
|
||||
};
|
||||
|
||||
GdkDisplay *
|
||||
|
Loading…
Reference in New Issue
Block a user