Commit a0591186573a56417502e645c1584d30802f1b4d

Authored by Perry Werneck
1 parent 118b482b
Exists in master and in 1 other branch develop

Fixing RHEL 7 build.

Showing 2 changed files with 14 additions and 0 deletions   Show diff stats
src/dialogs/tools.c
... ... @@ -106,3 +106,11 @@
106 106  
107 107 #endif // ! GLIB(2,44,0)
108 108  
  109 + #if ! GTK_CHECK_VERSION(3,16,0)
  110 +
  111 + void gtk_text_view_set_monospace(GtkTextView *text_view, gboolean monospace)
  112 + {
  113 +
  114 + }
  115 +
  116 + #endif //! GTK 3.16
... ...
src/include/internals.h
... ... @@ -80,6 +80,12 @@
80 80  
81 81 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;
82 82  
  83 + #if ! GTK_CHECK_VERSION(3,16,0)
  84 +
  85 + G_GNUC_INTERNAL void gtk_text_view_set_monospace (GtkTextView *text_view, gboolean monospace);
  86 +
  87 + #endif //! GTK 3.16
  88 +
83 89 G_END_DECLS
84 90  
85 91 #endif // V3270_INTERNALS_H_INCLUDED
... ...