From a0591186573a56417502e645c1584d30802f1b4d Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 14 Feb 2019 20:21:35 -0200 Subject: [PATCH] Fixing RHEL 7 build. --- src/dialogs/tools.c | 8 ++++++++ src/include/internals.h | 6 ++++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/dialogs/tools.c b/src/dialogs/tools.c index cbf371e..ad79ab5 100644 --- a/src/dialogs/tools.c +++ b/src/dialogs/tools.c @@ -106,3 +106,11 @@ #endif // ! GLIB(2,44,0) + #if ! GTK_CHECK_VERSION(3,16,0) + + void gtk_text_view_set_monospace(GtkTextView *text_view, gboolean monospace) + { + + } + + #endif //! GTK 3.16 diff --git a/src/include/internals.h b/src/include/internals.h index dedbcd4..ba7db42 100644 --- a/src/include/internals.h +++ b/src/include/internals.h @@ -80,6 +80,12 @@ G_GNUC_INTERNAL gchar * v3270_select_file(GtkWidget *widget, const gchar *title, const gchar *button, GtkFileChooserAction action, const gchar *filename, const gchar *filter, ... ) G_GNUC_NULL_TERMINATED; + #if ! GTK_CHECK_VERSION(3,16,0) + + G_GNUC_INTERNAL void gtk_text_view_set_monospace (GtkTextView *text_view, gboolean monospace); + + #endif //! GTK 3.16 + G_END_DECLS #endif // V3270_INTERNALS_H_INCLUDED -- libgit2 0.21.2