aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-application.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2010-10-06 12:08:49 -0400
committerMichael Terry <mike@mterry.name>2010-10-06 12:08:49 -0400
commit3551eb170dd87fbe11148136813e1bb580b90604 (patch)
tree4655d23dedc302e6660261950d412753b3c14f78 /src/indicator-application.c
parent60abdc2090b0a77e98011b4952bfad396db57626 (diff)
downloadlibayatana-appindicator-3551eb170dd87fbe11148136813e1bb580b90604.tar.gz
libayatana-appindicator-3551eb170dd87fbe11148136813e1bb580b90604.tar.bz2
libayatana-appindicator-3551eb170dd87fbe11148136813e1bb580b90604.zip
instead of always building gtk2 and gtk3, add a --with-gtk= flag to configure to specify which to build with
Diffstat (limited to 'src/indicator-application.c')
-rw-r--r--src/indicator-application.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/indicator-application.c b/src/indicator-application.c
index 16c3a9f..7735539 100644
--- a/src/indicator-application.c
+++ b/src/indicator-application.c
@@ -21,6 +21,9 @@ You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
/* G Stuff */
#include <glib.h>
@@ -29,7 +32,11 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
/* DBus Stuff */
#include <dbus/dbus-glib.h>
+#ifdef HAVE_GTK3
+#include <libdbusmenu-gtk3/menu.h>
+#else
#include <libdbusmenu-gtk/menu.h>
+#endif
/* Indicator Stuff */
#include <libindicator/indicator.h>