[gtk+] wayland: Add global_remove handler
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Add global_remove handler
- Date: Sat, 2 Feb 2013 04:03:39 +0000 (UTC)
commit e335a3fd313580aa76b890d0b7a02fd3941c432f
Author: Jan Arne Petersen <jpetersen openismus com>
Date: Wed Jan 30 22:05:56 2013 +0100
wayland: Add global_remove handler
Do not crash on wl_registry.global_remove events anymore.
https://bugzilla.gnome.org/show_bug.cgi?id=692899
gdk/wayland/gdkdisplay-wayland.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index 286634c..abf46f2 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]