aboutsummaryrefslogtreecommitdiff
path: root/src/apt-watcher.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-07-22 17:40:20 +0100
committerConor Curran <conor.curran@canonical.com>2011-07-22 17:40:20 +0100
commitae4e70778e02f44c68a5860d701f216cefe58cd3 (patch)
tree68c37d844b9f0085de9bf5144856254618b462c1 /src/apt-watcher.h
parentf94d6c4fe9c1ccb5a5e731b327fd57635c0ce326 (diff)
downloadayatana-indicator-session-ae4e70778e02f44c68a5860d701f216cefe58cd3.tar.gz
ayatana-indicator-session-ae4e70778e02f44c68a5860d701f216cefe58cd3.tar.bz2
ayatana-indicator-session-ae4e70778e02f44c68a5860d701f216cefe58cd3.zip
fixed issues
Diffstat (limited to 'src/apt-watcher.h')
-rw-r--r--src/apt-watcher.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/apt-watcher.h b/src/apt-watcher.h
index cbe0e29..7b98a44 100644
--- a/src/apt-watcher.h
+++ b/src/apt-watcher.h
@@ -21,8 +21,15 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define _APT_WATCHER_H_
#include <glib-object.h>
+
#include <libdbusmenu-glib/client.h>
+
+#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION(3, 0, 0)
#include <libdbusmenu-gtk3/menuitem.h>
+#else
+#include <libdbusmenu-gtk/menuitem.h>
+#endif
#include "session-dbus.h"