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:
Jan Arne Petersen 2013-01-30 22:05:56 +01:00 committed by Matthias Clasen
parent e437016a65
commit e335a3fd31

View File

@ -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 *