aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-06-23 10:29:24 +0200
committerConor Curran <conor.curran@canonical.com>2011-06-23 10:29:24 +0200
commitf51439abe6747ef022989a2aa6262481dc6c771d (patch)
treeab8893a878c38e7f383df787ca148d2f105ed489 /src/transport-widget.h
parent808a7108ec6c8cca9423b25269c846b5c6e2461d (diff)
parent41416ba7f8944ac60a6c1d84409d05a2d9e4d787 (diff)
downloadayatana-indicator-sound-f51439abe6747ef022989a2aa6262481dc6c771d.tar.gz
ayatana-indicator-sound-f51439abe6747ef022989a2aa6262481dc6c771d.tar.bz2
ayatana-indicator-sound-f51439abe6747ef022989a2aa6262481dc6c771d.zip
merge MTerry's gtk3 porting work
Diffstat (limited to 'src/transport-widget.h')
-rw-r--r--src/transport-widget.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport-widget.h b/src/transport-widget.h
index e5e91dc..8c2ce48 100644
--- a/src/transport-widget.h
+++ b/src/transport-widget.h
@@ -20,8 +20,11 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define __TRANSPORT_WIDGET_H__
#include <gtk/gtk.h>
-#include <gtk/gtkmenuitem.h>
+#if GTK_CHECK_VERSION(3, 0, 0)
+#include <libdbusmenu-gtk3/menuitem.h>
+#else
#include <libdbusmenu-gtk/menuitem.h>
+#endif
#include "common-defs.h"