diff options
author | Ray Strode <rstrode@redhat.com> | 2015-01-20 09:10:05 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-02-16 23:36:03 -0500 |
commit | 7de2f8ba8be7399b593398a9ed53868ac4b11dec (patch) | |
tree | a636e34245a2cdc3a73ae05fc729074fe9ee27c4 | |
parent | 3d22b06927829087961ad9b6f265d5bfca86adcb (diff) | |
download | gdm-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.c | 2 |
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, |