mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 16:33:40 +02:00
committed by
Ryan Lortie
parent
1b04954cd0
commit
639bd3626b
@@ -37,6 +37,7 @@
|
||||
#include "gsocks5proxy.h"
|
||||
#include "gtlsbackend.h"
|
||||
#include "gvfs.h"
|
||||
#include "gnotificationbackend.h"
|
||||
#ifdef G_OS_WIN32
|
||||
#include "gregistrysettingsbackend.h"
|
||||
#endif
|
||||
@@ -894,6 +895,10 @@ extern GType g_network_monitor_base_get_type (void);
|
||||
extern GType _g_network_monitor_netlink_get_type (void);
|
||||
#endif
|
||||
|
||||
#ifdef G_OS_UNIX
|
||||
extern GType g_fdo_notification_backend_get_type (void);
|
||||
#endif
|
||||
|
||||
#ifdef G_PLATFORM_WIN32
|
||||
|
||||
#include <windows.h>
|
||||
@@ -997,6 +1002,9 @@ _g_io_modules_ensure_extension_points_registered (void)
|
||||
|
||||
ep = g_io_extension_point_register (G_NETWORK_MONITOR_EXTENSION_POINT_NAME);
|
||||
g_io_extension_point_set_required_type (ep, G_TYPE_NETWORK_MONITOR);
|
||||
|
||||
ep = g_io_extension_point_register (G_NOTIFICATION_BACKEND_EXTENSION_POINT_NAME);
|
||||
g_io_extension_point_set_required_type (ep, G_TYPE_NOTIFICATION_BACKEND);
|
||||
}
|
||||
|
||||
G_UNLOCK (registered_extensions);
|
||||
@@ -1065,6 +1073,7 @@ _g_io_modules_ensure_loaded (void)
|
||||
#endif
|
||||
#ifdef G_OS_UNIX
|
||||
g_type_ensure (_g_unix_volume_monitor_get_type ());
|
||||
g_type_ensure (g_fdo_notification_backend_get_type ());
|
||||
#endif
|
||||
#ifdef G_OS_WIN32
|
||||
g_type_ensure (_g_winhttp_vfs_get_type ());
|
||||
|
Reference in New Issue
Block a user