aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-18 20:04:11 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-18 20:04:11 +0100
commitb92df905984963b9923fc7d826b0bcf963dda962 (patch)
tree9604153a69f2916422727149cd13dc2282c805bd /src
parent84fb2fdde96442f79bb1da1edf4d707019b68f98 (diff)
parentff7cd22d1cc2ff22dc35dc7c0e513bd3423020ae (diff)
downloadayatana-indicator-session-b92df905984963b9923fc7d826b0bcf963dda962.tar.gz
ayatana-indicator-session-b92df905984963b9923fc7d826b0bcf963dda962.tar.bz2
ayatana-indicator-session-b92df905984963b9923fc7d826b0bcf963dda962.zip
merged Trevino's gtk2 compilation fix
Diffstat (limited to 'src')
-rw-r--r--src/session-service.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session-service.c b/src/session-service.c
index fb6ce37..c61fde5 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -37,7 +37,13 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <libdbusmenu-glib/server.h>
#include <libdbusmenu-glib/menuitem.h>
#include <libdbusmenu-glib/client.h>
+
+#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION(3, 0, 0)
#include <libdbusmenu-gtk3/menuitem.h>
+#else
+#include <libdbusmenu-gtk/menuitem.h>
+#endif
#include <libindicator/indicator-service.h>