From 6d3ebfbb1695c95559841cdbc3afc2c528fe3d2b Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Wed, 23 Nov 2011 00:35:30 -0500
Subject: [PATCH] * #7242: fixed gnome client build for natty

---
 gnome/src/sflnotify.c        | 2 ++
 gnome/src/sliders.c          | 1 +
 tools/build-system/setenv.sh | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnome/src/sflnotify.c b/gnome/src/sflnotify.c
index caf6636e88..8dd5ed0f0f 100644
--- a/gnome/src/sflnotify.c
+++ b/gnome/src/sflnotify.c
@@ -33,7 +33,9 @@
 #include "sflnotify.h"
 #include "logger.h"
 
+#if defined(NOTIFY_CHECK_VERSION)
 #define USE_NOTIFY NOTIFY_CHECK_VERSION(0,7,2)
+#endif
 
 #if USE_NOTIFY
 typedef struct {
diff --git a/gnome/src/sliders.c b/gnome/src/sliders.c
index 34064901e3..38e901a2d9 100644
--- a/gnome/src/sliders.c
+++ b/gnome/src/sliders.c
@@ -33,6 +33,7 @@
 #include "actions.h"
 #include "logger.h"
 #include <string.h>
+#include <gtk/gtk.h>
 
 static gdouble     value[2];
 static GtkWidget * slider[2];
diff --git a/tools/build-system/setenv.sh b/tools/build-system/setenv.sh
index d83307b58a..1f22c60600 100644
--- a/tools/build-system/setenv.sh
+++ b/tools/build-system/setenv.sh
@@ -22,5 +22,5 @@ export REFERENCE_REPOSITORY="${ROOT_DIR}/sflphone-source-repository"
 
 export WORKING_DIR="${ROOT_DIR}/sflphone-build-repository/tools/build-system"
 export LAUNCHPAD_DIR="${WORKING_DIR}/launchpad"
-LAUNCHPAD_DISTRIBUTIONS=("oneiric" "precise")
+LAUNCHPAD_DISTRIBUTIONS=("natty" "oneiric" "precise")
 export LAUNCHPAD_DISTRIBUTIONS
-- 
GitLab