[zenity/jjardon/no_deprecated: 10/12] src/text.c: gtk_widget_override_font instead gtk_widget_modify_font



commit a3e276f6c0b4b07eb5f32cea13add440e3e8dab5
Author: Javier Jardón <jjardon gnome org>
Date:   Sun Mar 22 07:15:51 2015 +0000

    src/text.c: gtk_widget_override_font instead gtk_widget_modify_font

 src/text.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/text.c b/src/text.c
index 83aff9b..634be3d 100644
--- a/src/text.c
+++ b/src/text.c
@@ -265,7 +265,7 @@ zenity_text (ZenityData *data, ZenityTextData *text_data)
 
   if (text_data->font) {
       PangoFontDescription *fontDesc = pango_font_description_from_string (text_data->font);
-      gtk_widget_modify_font (GTK_WIDGET(text_view), fontDesc);
+      gtk_widget_override_font (GTK_WIDGET(text_view), fontDesc);
   }
 
   if (text_data->uri)


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