[gtk+] wayland: The xdg_surface.delete event was renamed to close



commit e4e75a94f5c0b6b9945c5b83107920d54087b6aa
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Apr 17 13:14:44 2014 -0400

    wayland: The xdg_surface.delete event was renamed to close

 gdk/wayland/gdkwindow-wayland.c    |    6 +++---
 gdk/wayland/protocol/xdg-shell.xml |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 0f7e9e1..6314b45 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -860,8 +860,8 @@ xdg_surface_deactivated (void *data,
 }
 
 static void
-xdg_surface_delete (void *data,
-                    struct xdg_surface *xdg_surface)
+xdg_surface_close (void *data,
+                   struct xdg_surface *xdg_surface)
 {
   GdkWindow *window = GDK_WINDOW (data);
   GdkDisplay *display;
@@ -882,7 +882,7 @@ static const struct xdg_surface_listener xdg_surface_listener = {
   xdg_surface_change_state,
   xdg_surface_activated,
   xdg_surface_deactivated,
-  xdg_surface_delete,
+  xdg_surface_close,
 };
 
 static void
diff --git a/gdk/wayland/protocol/xdg-shell.xml b/gdk/wayland/protocol/xdg-shell.xml
index bc979b3..7882693 100644
--- a/gdk/wayland/protocol/xdg-shell.xml
+++ b/gdk/wayland/protocol/xdg-shell.xml
@@ -381,9 +381,9 @@
       </description>
     </event>
 
-    <event name="delete">
+    <event name="close">
       <description summary="surface wants to be closed">
-        The delete event is sent by the compositor when the user
+        The close event is sent by the compositor when the user
         wants the surface to be closed. This should be equivalent to
         the user clicking the close button in client-side decorations,
         if your application has any...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]