[gtk+] wayland: Remove cruft in set_keep_above / set_keep_below



commit 16b5504eb9a6f23517193047eb5f315e4c9122d8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Mar 17 15:42:43 2014 -0400

    wayland: Remove cruft in set_keep_above / set_keep_below
    
    It's been decided: these will most likely never be supported on
    Wayland, so remove the "stub" implementation of them.

 gdk/wayland/gdkwindow-wayland.c |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 0b502fd..6b45e4e 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1817,22 +1817,13 @@ gdk_wayland_window_unfullscreen (GdkWindow *window)
 }
 
 static void
-gdk_wayland_window_set_keep_above (GdkWindow *window,
-                                   gboolean   setting)
+gdk_wayland_window_set_keep_above (GdkWindow *window, gboolean setting)
 {
-  g_return_if_fail (GDK_IS_WINDOW (window));
-
-  if (GDK_WINDOW_DESTROYED (window))
-    return;
 }
 
 static void
 gdk_wayland_window_set_keep_below (GdkWindow *window, gboolean setting)
 {
-  g_return_if_fail (GDK_IS_WINDOW (window));
-
-  if (GDK_WINDOW_DESTROYED (window))
-    return;
 }
 
 static GdkWindow *


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