[gedit] View: fix use of deprecated Tepl function



commit f8e0a62e742780828ac160decdd9710b2fe0d2fc
Author: Sébastien Wilmet <swilmet informatique-libre be>
Date:   Sun Jul 17 15:34:04 2022 +0200

    View: fix use of deprecated Tepl function

 gedit/gedit-view.c | 2 +-
 meson.build        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-view.c b/gedit/gedit-view.c
index 0c730c989..31e5ad579 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -171,7 +171,7 @@ update_font (GeditView *view)
 
        settings = _gedit_settings_get_singleton ();
        selected_font = _gedit_settings_get_selected_font (settings);
-       tepl_utils_override_font (GTK_WIDGET (view), selected_font);
+       tepl_utils_override_font_string (GTK_WIDGET (view), selected_font);
        g_free (selected_font);
 }
 
diff --git a/meson.build b/meson.build
index 81ea1d185..6b02abf48 100644
--- a/meson.build
+++ b/meson.build
@@ -45,7 +45,7 @@ gio_dep = dependency('gio-2.0', version: '>= 2.64')
 libgedit_public_deps = [
   gio_dep,
   dependency('gtk+-3.0', version: '>= 3.22'),
-  dependency('tepl-6', version: '>= 5.99.0'),
+  dependency('tepl-6', version: '>= 6.1.2'),
   dependency('libpeas-gtk-1.0'),
 ]
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]