[balsa/gtk3] Fix bgo #697454 (Dominique Leuenberger)



commit 942579d85b4032811a68de5f17045983bbccf320
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat Apr 6 18:31:51 2013 -0400

    Fix bgo #697454 (Dominique Leuenberger)
    
        * configure.ac: require GtkSourceView 3.2
        * src/sendmsg-window.c: gtksource.h is the main header; fixes
        bgo #697454 (Dominique Leuenberger).

 ChangeLog            |    6 ++++++
 configure.ac         |    2 +-
 src/sendmsg-window.c |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index fe22c40..72d71e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2013-04-06  Peter Bloomfield
 
+       * configure.ac: require GtkSourceView 3.2
+       * src/sendmsg-window.c: gtksource.h is the main header; fixes
+       bgo #697454 (Dominique Leuenberger).
+
+2013-04-06  Peter Bloomfield
+
        * libbalsa/html.c (libbalsa_html_popup_menu_widget),
        (libbalsa_html_print): actually print the HTML part.
 
diff --git a/configure.ac b/configure.ac
index 341a132..0f0f3bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -793,7 +793,7 @@ fi
 # GtkSourceView configuration
 #
 if test x$with_gtksourceview != xno; then
-    PKG_CHECK_MODULES(GTKSOURCEVIEW, [ gtksourceview-3.0 ])
+    PKG_CHECK_MODULES(GTKSOURCEVIEW, [ gtksourceview-3.0 >= 3.2.0 ])
     AC_DEFINE(HAVE_GTKSOURCEVIEW,3,[Defined when GtkSourceView-3 can be used.])
     AC_MSG_NOTICE([Note: using GtkSourceview Version 3])
     with_gtksourceview=3
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index 3901900..93aa038 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -77,7 +77,7 @@
 #include "spell-check.h"
 #endif                          /* HAVE_GTKSPELL */
 #if HAVE_GTKSOURCEVIEW
-#include <gtksourceview/gtksourceview.h>
+#include <gtksourceview/gtksource.h>
 #endif                          /* HAVE_GTKSOURCEVIEW */
 
 #define GNOME_MIME_BUG_WORKAROUND 1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]