src/text.c: gtk_widget_override_font instead gtk_widget_modify_font
This commit is contained in:
parent
e54c5db6aa
commit
1cf533964e
@ -265,7 +265,7 @@ zenity_text (ZenityData *data, ZenityTextData *text_data)
|
|||||||
|
|
||||||
if (text_data->font) {
|
if (text_data->font) {
|
||||||
PangoFontDescription *fontDesc = pango_font_description_from_string (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)
|
if (text_data->uri)
|
||||||
|
Reference in New Issue
Block a user