[Xfce4-commits] [xfce/xfwm4] 03/06: compositor: Remove some pre-conditions assertions

noreply at xfce.org noreply at xfce.org
Thu May 23 21:50:55 CEST 2019


This is an automated email from the git hooks/post-receive script.

o   l   i   v   i   e   r       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfwm4.

commit a1c8937902e5480c775b6770d2870f6ab5d0514f
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Thu May 23 21:25:28 2019 +0200

    compositor: Remove some pre-conditions assertions
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/compositor.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index 9ecf048..a71e0ce 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1690,7 +1690,6 @@ present_flip (ScreenInfo *screen_info, XserverRegion region, gushort buffer)
 
     g_return_if_fail (screen_info != NULL);
     g_return_if_fail (region != None);
-    g_return_if_fail (screen_info->rootPixmap[buffer] != None);
     TRACE ("serial %d", present_serial);
 
     display_info = screen_info->display_info;
@@ -1919,7 +1918,6 @@ static void
 paint_root (ScreenInfo *screen_info, Picture paint_buffer)
 {
     g_return_if_fail (screen_info != NULL);
-    g_return_if_fail (paint_buffer != None);
     TRACE ("entering");
 
     if (screen_info->rootTile == None)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list