[gdm/wip/xserver-in-session: 10/13] session: add #ifdef ENABLE_WAYLAND_SUPPORT guard



commit 1af78e241a200b6563ad003a2441de1d34298dd7
Author: Ray Strode <rstrode redhat com>
Date:   Tue Jan 20 09:10:05 2015 -0500

    session: add #ifdef ENABLE_WAYLAND_SUPPORT guard
    
    I just noticed there's a forward declaration that's not protected
    by the enable wayland support definition.
    
    This probably fixes a compiler warning in some configurations.

 daemon/gdm-session.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 6e76984..ed921ea 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -164,7 +164,9 @@ enum {
         LAST_SIGNAL
 };
 
+#ifdef ENABLE_WAYLAND_SUPPORT
 static gboolean gdm_session_is_wayland_session (GdmSession *self);
+#endif
 static guint signals [LAST_SIGNAL] = { 0, };
 
 G_DEFINE_TYPE (GdmSession,


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