summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-01-20 09:10:05 -0500
committerRay Strode <rstrode@redhat.com>2015-02-16 23:36:03 -0500
commit7de2f8ba8be7399b593398a9ed53868ac4b11dec (patch)
treea636e34245a2cdc3a73ae05fc729074fe9ee27c4
parent3d22b06927829087961ad9b6f265d5bfca86adcb (diff)
downloadgdm-7de2f8ba8be7399b593398a9ed53868ac4b11dec.tar.gz
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.
-rw-r--r--daemon/gdm-session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index 6e769841..ed921ea2 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,