[mutter] display: Kill a warning at shutdown



commit c6fcc79e6a8bad918b7e080c06f851899d5da361
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Dec 4 16:45:35 2012 -0500

    display: Kill a warning at shutdown
    
    A small semicolon was causing us to always remove the focus
    timeout ID.

 src/core/display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index a515a18..bd35748 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -1050,7 +1050,7 @@ meta_display_close (MetaDisplay *display,
   
   meta_display_remove_autoraise_callback (display);
 
-  if (display->focus_timeout_id);
+  if (display->focus_timeout_id)
     g_source_remove (display->focus_timeout_id);
   display->focus_timeout_id = 0;
 



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