aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-session.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-06-21 10:39:54 -0500
committerTed Gould <ted@gould.cx>2011-06-21 10:39:54 -0500
commit026af1ce978c413338d2b7cfecbf58d285d9f89a (patch)
tree0c7fa51254a47b81f633431738a5970037f9c2e0 /src/indicator-session.c
parent45202574ef59c25b66b07eba42ea780941766aae (diff)
parente94209be9883443c69b2e50d4f98f08847ead1a5 (diff)
downloadayatana-indicator-session-026af1ce978c413338d2b7cfecbf58d285d9f89a.tar.gz
ayatana-indicator-session-026af1ce978c413338d2b7cfecbf58d285d9f89a.tar.bz2
ayatana-indicator-session-026af1ce978c413338d2b7cfecbf58d285d9f89a.zip
Import upstream version 0.2.90
Diffstat (limited to 'src/indicator-session.c')
-rw-r--r--src/indicator-session.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index e8a2f97..c9617c4 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -29,7 +29,12 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
+
+#if GTK_CHECK_VERSION(3, 0, 0)
+#include <libdbusmenu-gtk3/menu.h>
+#else
#include <libdbusmenu-gtk/menu.h>
+#endif
#include <libindicator/indicator.h>
#include <libindicator/indicator-object.h>