[gdm/wip/wayland-at-login-screen: 38/68] session: add #ifdef ENABLE_WAYLAND_SUPPORT guard



commit 5f9ad6edc03609adf1292b7ba0c5a8aed46067e1
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 627796a..4c2a8db 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]