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 --- src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 486770f..708b030 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,5 @@ -AM_CPPFLAGS = -DICONS_DIR='"$(INDICATORICONSDIR)"' +AM_CPPFLAGS = -DICONS_DIR='"$(INDICATORICONSDIR)"' \ + -DWITH_GTK='$(GTK_VERSION)' libexec_PROGRAMS = indicator-notifications-service -- cgit v1.2.3