[snappy] ui: remove usage of _check_windowing_backend



commit a8f118c2241dc59e406702cd78ab57a59e39970a
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Thu May 17 13:38:31 2012 +0100

    ui: remove usage of _check_windowing_backend
    
    clutter_check_windowing_backend () was added in clutter 1.10, which is fairly
    recent so most distributions don't offer it yet. will revert back when this
    version of clutter is more common.

 src/user_interface.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/user_interface.c b/src/user_interface.c
index 8d385e2..4005e1b 100644
--- a/src/user_interface.c
+++ b/src/user_interface.c
@@ -920,7 +920,6 @@ static void
 toggle_fullscreen (UserInterface * ui)
 {
 #ifdef CLUTTER_WINDOWING_X11
-  if (clutter_check_windowing_backend (CLUTTER_WINDOWING_X11))
     if (ui->fullscreen) {
       toggle_fullscreen_x11 (CLUTTER_STAGE (ui->stage), FALSE);
       ui->fullscreen = FALSE;



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