diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/session-service.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session-service.c b/src/session-service.c index 23cb6ab..2b00d87 100644 --- a/src/session-service.c +++ b/src/session-service.c @@ -37,7 +37,13 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #include <libdbusmenu-glib/server.h> #include <libdbusmenu-glib/menuitem.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 <libindicator/indicator-service.h> |