[glib: 3/5] gio: Remove remaining references to fen file monitor




commit 2759dd71bee859ff8daa9f52c9ff7169bacf6c67
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Mar 23 15:40:41 2022 +0000

    gio: Remove remaining references to fen file monitor
    
    It used to exist on Solaris, but GLib’s support for it was mostly
    removed in 2015 in commit 21ab660cf8d2622917eceaa24fbd07d81ea949af.
    
    Remove the final few references.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 docs/reference/gio/meson.build  | 1 -
 docs/reference/gio/overview.xml | 2 +-
 gio/giomodule.c                 | 4 ----
 3 files changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/docs/reference/gio/meson.build b/docs/reference/gio/meson.build
index bb14e6923c..529185b12f 100644
--- a/docs/reference/gio/meson.build
+++ b/docs/reference/gio/meson.build
@@ -4,7 +4,6 @@ if get_option('gtk_doc')
 
   ignore_headers = [
     'fam',
-    'fen',
     'gdbus-2.0',
     'gvdb',
     'inotify',
diff --git a/docs/reference/gio/overview.xml b/docs/reference/gio/overview.xml
index f30b14215e..3214215edc 100644
--- a/docs/reference/gio/overview.xml
+++ b/docs/reference/gio/overview.xml
@@ -392,7 +392,7 @@ Gvfs is also heavily distributed and relies on a session bus to be present.
         The #GFileMonitor implementation for local files that is included
         in GIO on Linux has the name <literal>inotify</literal>, others that are built
         are built as modules (depending on the platform) are called
-        <literal>fam</literal> and <literal>fen</literal>.
+        <literal>fam</literal>, <literal>kqueue</literal> and <literal>win32filemonitor</literal>.
       </para><para>
         The special value <literal>help</literal> can be used to print a list of
         available implementations to standard output.
diff --git a/gio/giomodule.c b/gio/giomodule.c
index 2a043ccd90..a771ec2f26 100644
--- a/gio/giomodule.c
+++ b/gio/giomodule.c
@@ -1065,7 +1065,6 @@ _g_io_module_get_default (const gchar         *extension_point,
 G_LOCK_DEFINE_STATIC (registered_extensions);
 G_LOCK_DEFINE_STATIC (loaded_dirs);
 
-extern GType g_fen_file_monitor_get_type (void);
 extern GType g_inotify_file_monitor_get_type (void);
 extern GType g_kqueue_file_monitor_get_type (void);
 extern GType g_win32_file_monitor_get_type (void);
@@ -1329,9 +1328,6 @@ _g_io_modules_ensure_loaded (void)
 #if defined(HAVE_KQUEUE)
       g_type_ensure (g_kqueue_file_monitor_get_type ());
 #endif
-#if defined(HAVE_FEN)
-      g_type_ensure (g_fen_file_monitor_get_type ());
-#endif
 #ifdef G_OS_WIN32
       g_type_ensure (_g_win32_volume_monitor_get_type ());
       g_type_ensure (g_win32_file_monitor_get_type ());


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