aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-06-10 14:41:51 -0500
committerTed Gould <ted@gould.cx>2011-06-10 14:41:51 -0500
commitc36e62ca6146531b36c58278e40d5c66dfbbb963 (patch)
tree2753d2df184555265fac20c0eacfeb67d27854c8 /src
parent18d9d74ea8e9ceb86d2e14d64e013a09d2f9ee64 (diff)
parentb1eb446daaeb900f6cd0e775793d7c62ff6c8b58 (diff)
downloadayatana-indicator-messages-c36e62ca6146531b36c58278e40d5c66dfbbb963.tar.gz
ayatana-indicator-messages-c36e62ca6146531b36c58278e40d5c66dfbbb963.tar.bz2
ayatana-indicator-messages-c36e62ca6146531b36c58278e40d5c66dfbbb963.zip
GTK3 Changes
Diffstat (limited to 'src')
-rw-r--r--src/indicator-messages.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index ed6caa6..bb88c57 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -25,8 +25,14 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <glib-object.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+
+#if GTK_CHECK_VERSION(3, 0, 0)
+#include <libdbusmenu-gtk3/menu.h>
+#include <libdbusmenu-gtk3/menuitem.h>
+#else
#include <libdbusmenu-gtk/menu.h>
#include <libdbusmenu-gtk/menuitem.h>
+#endif
#include <libindicator/indicator.h>
#include <libindicator/indicator-object.h>