[balsa] Build without HTML configured
- From: Peter Bloomfield <PeterB src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [balsa] Build without HTML configured
- Date: Mon, 4 Jan 2010 14:48:45 +0000 (UTC)
commit b538180b315127614849cdee6a83f719ee501914
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon Jan 4 09:45:57 2010 -0500
Build without HTML configured
ChangeLog | 6 ++++++
src/balsa-message.c | 10 +++++++++-
2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 05d65af..55ec0d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2010-01-04 Peter Bloomfield
+ * src/balsa-message.c (bm_find_entry_changed_cb), (bm_find_again),
+ (balsa_message_find_in_message): build --without-gtkhtml
+ --without-webkit.
+
+2010-01-04 Peter Bloomfield
+
* libbalsa/imap/imap_compress.c: add missing includes of
stdlib.h, string.h.
diff --git a/src/balsa-message.c b/src/balsa-message.c
index 705380c..856831a 100644
--- a/src/balsa-message.c
+++ b/src/balsa-message.c
@@ -505,6 +505,7 @@ bm_find_entry_changed_cb(GtkEditable * editable, gpointer data)
&match_begin, &match_end);
bm->find_iter = match_begin;
}
+#ifdef HAVE_GTKHTML
} else if (libbalsa_html_can_search(widget)) {
found = libbalsa_html_search_text(widget, text,
bm->find_forward, TRUE);
@@ -515,6 +516,7 @@ bm_find_entry_changed_cb(GtkEditable * editable, gpointer data)
&selection_bounds);
bm_find_scroll_to_rectangle(bm, widget, &selection_bounds);
}
+#endif /* HAVE_GTKHTML */
} else
g_assert_not_reached();
@@ -558,6 +560,7 @@ bm_find_again(BalsaMessage * bm, gboolean find_forward)
bm_find_scroll_to_selection(bm, text_view,
&match_begin, &match_end);
bm->find_iter = match_begin;
+#ifdef HAVE_GTKHTML
} else if (libbalsa_html_can_search(widget)) {
GdkRectangle selection_bounds;
@@ -566,6 +569,7 @@ bm_find_again(BalsaMessage * bm, gboolean find_forward)
libbalsa_html_search_text(widget, text, find_forward, TRUE);
libbalsa_html_get_selection_bounds(widget, &selection_bounds);
bm_find_scroll_to_rectangle(bm, widget, &selection_bounds);
+#endif /* HAVE_GTKHTML */
} else
g_assert_not_reached();
@@ -3293,7 +3297,11 @@ balsa_message_find_in_message(BalsaMessage * bm)
if (bm->current_part
&& (w = bm->current_part->mime_widget->widget)
- && (GTK_IS_TEXT_VIEW(w) || libbalsa_html_can_search(w))) {
+ && (GTK_IS_TEXT_VIEW(w)
+#ifdef HAVE_GTKHTML
+ || libbalsa_html_can_search(w)
+#endif /* HAVE_GTKHTML */
+ )) {
if (GTK_IS_TEXT_VIEW(w)) {
GtkTextView *text_view = (GtkTextView *) w;
GtkTextBuffer *buffer = gtk_text_view_get_buffer(text_view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]