[gdm/wip/xserver-in-session: 9/12] session: add #ifdef ENABLE_WAYLAND_SUPPORT guard
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/xserver-in-session: 9/12] session: add #ifdef ENABLE_WAYLAND_SUPPORT guard
- Date: Thu, 22 Jan 2015 14:39:09 +0000 (UTC)
commit 6d8003fdadadb692cd536febcef06861a8707d1a
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 427413b..c3e7053 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]