diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-07-09 05:42:45 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2011-07-09 05:42:45 +0200 |
commit | 8ab26b1cd3f1a5e67c6f06adf59d3de8c9bb14d5 (patch) | |
tree | 801a0fca04fdf3827cec6ea3cdba76f0753ca6e7 /src | |
parent | 331ab6a0abc53276af8da99ea141071bbb605820 (diff) | |
download | ayatana-indicator-session-8ab26b1cd3f1a5e67c6f06adf59d3de8c9bb14d5.tar.gz ayatana-indicator-session-8ab26b1cd3f1a5e67c6f06adf59d3de8c9bb14d5.tar.bz2 ayatana-indicator-session-8ab26b1cd3f1a5e67c6f06adf59d3de8c9bb14d5.zip |
Get support for gtk+2.0 back
indicator-session can still be compiled with gtk, using the
--with-gtk=2 configure flag (I've changed it to match the
other indicators).
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 dfc3805..424a3ac 100644 --- a/src/session-service.c +++ b/src/session-service.c @@ -36,7 +36,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> |