aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-session.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-06-10 14:28:37 -0500
committerTed Gould <ted@gould.cx>2011-06-10 14:28:37 -0500
commit29fe1a919a1dbfb9252671f234fbcde475d43031 (patch)
tree22164d0a1ca3f68803a3897839d1d7ce12df825c /src/indicator-session.c
parent9b9d8e12052e8df83f544287f2105d14f996a6ce (diff)
parent6eb44e9133dc234ce48cf27454575a3cebf0376d (diff)
downloadayatana-indicator-session-29fe1a919a1dbfb9252671f234fbcde475d43031.tar.gz
ayatana-indicator-session-29fe1a919a1dbfb9252671f234fbcde475d43031.tar.bz2
ayatana-indicator-session-29fe1a919a1dbfb9252671f234fbcde475d43031.zip
GTK3 Support
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>