[gimp/gtk3-port: 175/226] app: use gtk_widget_override_font() instead of modify_font()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 175/226] app: use gtk_widget_override_font() instead of modify_font()
- Date: Wed, 11 Dec 2013 00:28:27 +0000 (UTC)
commit d9dd228d435e44cbfc0b24ca1dd6a4b7f33f63bc
Author: Michael Natterer <mitch gimp org>
Date: Mon Jan 3 14:45:58 2011 +0100
app: use gtk_widget_override_font() instead of modify_font()
app/widgets/gimptexteditor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimptexteditor.c b/app/widgets/gimptexteditor.c
index 43b519d..5dfaac0 100644
--- a/app/widgets/gimptexteditor.c
+++ b/app/widgets/gimptexteditor.c
@@ -321,7 +321,7 @@ gimp_text_editor_set_font_name (GimpTextEditor *editor,
if (font_name)
font_desc = pango_font_description_from_string (font_name);
- gtk_widget_modify_font (editor->view, font_desc);
+ gtk_widget_override_font (editor->view, font_desc);
if (font_desc)
pango_font_description_free (font_desc);
@@ -355,7 +355,7 @@ gimp_text_editor_font_toggled (GtkToggleButton *button,
if (gtk_toggle_button_get_active (button) && editor->font_name)
font_desc = pango_font_description_from_string (editor->font_name);
- gtk_widget_modify_font (editor->view, font_desc);
+ gtk_widget_override_font (editor->view, font_desc);
if (font_desc)
pango_font_description_free (font_desc);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]