aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-widget.h
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2011-06-22 15:19:49 -0400
committerMichael Terry <michael.terry@canonical.com>2011-06-22 15:19:49 -0400
commit41416ba7f8944ac60a6c1d84409d05a2d9e4d787 (patch)
treeab8893a878c38e7f383df787ca148d2f105ed489 /src/metadata-widget.h
parent808a7108ec6c8cca9423b25269c846b5c6e2461d (diff)
downloadayatana-indicator-sound-41416ba7f8944ac60a6c1d84409d05a2d9e4d787.tar.gz
ayatana-indicator-sound-41416ba7f8944ac60a6c1d84409d05a2d9e4d787.tar.bz2
ayatana-indicator-sound-41416ba7f8944ac60a6c1d84409d05a2d9e4d787.zip
port to gtk3
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