From 59896497977040f03aaa0b2c293c265ed2e0c4e7 Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Fri, 19 Aug 2011 13:32:25 -0400 Subject: * Add a WITH_GTK (2, 3) definition to handle some of the minor differences between gtk2 and 3 * Replace gtk_hbox_new with gtk_box_new in the gtk3 version * GtkLabel has a new (and much nicer) wrapping mechanism - use gtk_label_set_max_width_chars in gtk3 version --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 79bb0dc..0226b58 100644 --- a/configure.ac +++ b/configure.ac @@ -42,9 +42,12 @@ PKG_PROG_PKG_CONFIG AC_ARG_WITH([gtk], [AS_HELP_STRING([--with-gtk], - [Which version of gtk to use @<:@default=2@:>@])], + [Which version of gtk to use @<:@default=3@:>@])], [], - [with_gtk=2]) + [with_gtk=3]) + +GTK_VERSION=$with_gtk +AC_SUBST(GTK_VERSION) ########################### # Dependencies -- cgit v1.2.3