summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2021-06-29 03:31:56 +0000
committerLogan Rathbone <poprocks@gmail.com>2021-06-29 03:31:56 +0000
commitdc76b407e517bafb62f0a8c2cb5dc2df5723c4c6 (patch)
tree20e5f1389ffed3b6d643daab199d9877700c119a /src/text.c
parentUpdate Russian translation (diff)
parentUpdate Russian translation (diff)
downloadzenity-dc76b407e517bafb62f0a8c2cb5dc2df5723c4c6.tar.gz
zenity-dc76b407e517bafb62f0a8c2cb5dc2df5723c4c6.tar.bz2
zenity-dc76b407e517bafb62f0a8c2cb5dc2df5723c4c6.zip
Merge branch 'meson' into 'master'
Port build system to meson See merge request GNOME/zenity!14
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/text.c b/src/text.c
index ffe7b35e..bbfa4212 100644
--- a/src/text.c
+++ b/src/text.c
@@ -289,11 +289,13 @@ zenity_text (ZenityData *data, ZenityTextData *text_data) {
if (text_data->no_wrap)
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text_view), GTK_WRAP_NONE);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (text_data->font) {
PangoFontDescription *fontDesc =
pango_font_description_from_string (text_data->font);
gtk_widget_override_font (GTK_WIDGET (text_view), fontDesc);
}
+G_GNUC_END_IGNORE_DEPRECATIONS
if (text_data->uri)
zenity_util_fill_file_buffer (text_buffer, text_data->uri);
bgstack15