summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2021-06-28 23:17:46 -0400
committerLogan Rathbone <poprocks@gmail.com>2021-06-28 23:17:46 -0400
commit8d343b714fa4c0aeaa7e639892159aa0d619f124 (patch)
treeab094a0f74ebb52e60766a25c44784ee763aa912 /src
parentmeson: disable libnotify and webkitgtk by default (diff)
downloadzenity-8d343b714fa4c0aeaa7e639892159aa0d619f124.tar.gz
zenity-8d343b714fa4c0aeaa7e639892159aa0d619f124.tar.bz2
zenity-8d343b714fa4c0aeaa7e639892159aa0d619f124.zip
meson: bump gtk req. Suppress compiler warning.
Diffstat (limited to 'src')
-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