[gtk+] wayland: Drop some pointless lines



commit 3d205a20374f344681989261e7a18135c05a0c5f
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 27 18:15:37 2015 -0500

    wayland: Drop some pointless lines
    
    No need for these parameter checks, really.

 gdk/wayland/gdkwindow-wayland.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 23d6d08..8a449ff 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1742,15 +1742,11 @@ gdk_wayland_window_deiconify (GdkWindow *window)
 static void
 gdk_wayland_window_stick (GdkWindow *window)
 {
-  if (GDK_WINDOW_DESTROYED (window))
-    return;
 }
 
 static void
 gdk_wayland_window_unstick (GdkWindow *window)
 {
-  if (GDK_WINDOW_DESTROYED (window))
-    return;
 }
 
 static void
@@ -1822,10 +1818,6 @@ gdk_wayland_window_set_keep_below (GdkWindow *window, gboolean setting)
 static GdkWindow *
 gdk_wayland_window_get_group (GdkWindow *window)
 {
-  if (GDK_WINDOW_DESTROYED (window) ||
-      !WINDOW_IS_TOPLEVEL (window))
-    return NULL;
-
   return NULL;
 }
 


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