[balsa/gtk3] New override font API
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] New override font API
- Date: Tue, 18 Jan 2011 00:16:09 +0000 (UTC)
commit 5d501f5fb75d037426bf9b284d3002153d62f6f9
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon Jan 17 17:05:19 2011 -0500
New override font API
* libbalsa/source-viewer.c (libbalsa_show_message_source): new
override font API.
ChangeLog | 5 +++++
libbalsa/source-viewer.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a6b0fb9..78f4392 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-01-17 Peter Bloomfield
+ * libbalsa/source-viewer.c (libbalsa_show_message_source): new
+ override font API.
+
+2011-01-17 Peter Bloomfield
+
* libbalsa/libbalsa.c (libbalsa_source_view_new): drop support
for GtkSourceView-1.
* libbalsa/libbalsa.h: ditto.
diff --git a/libbalsa/source-viewer.c b/libbalsa/source-viewer.c
index 8b67787..ac9fd24 100644
--- a/libbalsa/source-viewer.c
+++ b/libbalsa/source-viewer.c
@@ -264,7 +264,7 @@ libbalsa_show_message_source(LibBalsaMessage* msg, const gchar * font,
text = gtk_text_view_new();
desc = pango_font_description_from_string(font);
- gtk_widget_modify_font(text, desc);
+ gtk_widget_override_font(text, desc);
pango_font_description_free(desc);
gtk_text_view_set_editable(GTK_TEXT_VIEW(text), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]