[vte] fonts: Don't use deprecate gdk threads timeout API



commit 73d05db64bb271cee1af7f301c19c23ada7e9176
Author: Christian Persch <chpe src gnome org>
Date:   Mon Oct 19 21:14:43 2020 +0200

    fonts: Don't use deprecate gdk threads timeout API
    
    [gtk4 preparation]

 src/fonts-pangocairo.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/fonts-pangocairo.hh b/src/fonts-pangocairo.hh
index 3a30845c..f703e589 100644
--- a/src/fonts-pangocairo.hh
+++ b/src/fonts-pangocairo.hh
@@ -144,9 +144,9 @@ public:
                         return;
 
                 /* Delay destruction by a few seconds, in case we need it again */
-                m_destroy_timeout = gdk_threads_add_timeout_seconds(font_cache_timeout,
-                                                                    (GSourceFunc)destroy_delayed_cb,
-                                                                    this);
+                m_destroy_timeout = g_timeout_add_seconds(font_cache_timeout,
+                                                          (GSourceFunc)destroy_delayed_cb,
+                                                          this);
         }
 
         struct UnistrInfo {


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