aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-widget.h
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-06-28 10:51:50 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-06-28 10:51:50 -0400
commitfbe33a6d8e37468d5f01c5747c9ccb1763208db6 (patch)
tree91f441e199f5b319b30f21fbbe421323dc9bdc2a /src/metadata-widget.h
parentb004f06319c37e63adee52cff5a6258e900ad8a2 (diff)
parentf11a6bb0c8bc68d0a6972e94140f7b5d96881dba (diff)
downloadayatana-indicator-sound-fbe33a6d8e37468d5f01c5747c9ccb1763208db6.tar.gz
ayatana-indicator-sound-fbe33a6d8e37468d5f01c5747c9ccb1763208db6.tar.bz2
ayatana-indicator-sound-fbe33a6d8e37468d5f01c5747c9ccb1763208db6.zip
Import upstream version 0.7.2
Diffstat (limited to 'src/metadata-widget.h')
-rw-r--r--src/metadata-widget.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/metadata-widget.h b/src/metadata-widget.h
index 30b629c..b0123a3 100644
--- a/src/metadata-widget.h
+++ b/src/metadata-widget.h
@@ -19,8 +19,12 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef __METADATA_WIDGET_H__
#define __METADATA_WIDGET_H__
-#include <gtk/gtkmenuitem.h>
+#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION(3, 0, 0)
+#include <libdbusmenu-gtk3/menuitem.h>
+#else
#include <libdbusmenu-gtk/menuitem.h>
+#endif
G_BEGIN_DECLS