summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@debian.org>2021-09-19 08:31:12 -0400
committerJeremy Bicha <jbicha@debian.org>2021-09-19 08:31:12 -0400
commit0a9278511b4d4a3b5df9f6232cd0a427b945a630 (patch)
tree18db516364877f6dd0ebca5a0eddea7b9311b142 /src/text.c
parentdebian/watch: Update for GNOME 40 style version numbering (diff)
parentNew upstream version 3.41.0 (diff)
downloadzenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.gz
zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.tar.bz2
zenity-0a9278511b4d4a3b5df9f6232cd0a427b945a630.zip
Update upstream source from tag 'upstream/3.41.0'
Update to upstream version '3.41.0' with Debian dir e93fe4af08d9574e6a601a2b0269cc470265904a
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