summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-03-22 07:15:51 +0000
committerJavier Jardón <jjardon@gnome.org>2015-03-22 09:16:16 +0000
commit1cf533964e61202c2e0921e10dc4ee149423bd6c (patch)
tree83b39ba683e7a0f8f92d157c55763140e1fc2171 /src
parentsrc/color.c: Port to GtkColorChooserDialog (diff)
downloadzenity-1cf533964e61202c2e0921e10dc4ee149423bd6c.tar.gz
zenity-1cf533964e61202c2e0921e10dc4ee149423bd6c.tar.bz2
zenity-1cf533964e61202c2e0921e10dc4ee149423bd6c.zip
src/text.c: gtk_widget_override_font instead gtk_widget_modify_font
Diffstat (limited to 'src')
-rw-r--r--src/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.c b/src/text.c
index 83aff9b5..634be3da 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)
bgstack15