mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-14 22:40:35 +01:00
glib-aux: use GUnixFDSourceFunc for nm_g_unix_fd_source_new() signature
This commit is contained in:
parent
b87d7a8b40
commit
5d08d3a7ef
2 changed files with 13 additions and 13 deletions
|
|
@ -5080,12 +5080,12 @@ nm_g_unix_signal_source_new(int signum,
|
|||
}
|
||||
|
||||
GSource *
|
||||
nm_g_unix_fd_source_new(int fd,
|
||||
GIOCondition io_condition,
|
||||
int priority,
|
||||
gboolean (*source_func)(int fd, GIOCondition condition, gpointer user_data),
|
||||
gpointer user_data,
|
||||
GDestroyNotify destroy_notify)
|
||||
nm_g_unix_fd_source_new(int fd,
|
||||
GIOCondition io_condition,
|
||||
int priority,
|
||||
GUnixFDSourceFunc source_func,
|
||||
gpointer user_data,
|
||||
GDestroyNotify destroy_notify)
|
||||
{
|
||||
GSource *source;
|
||||
|
||||
|
|
|
|||
|
|
@ -1715,13 +1715,13 @@ GSource *nm_g_timeout_source_new_seconds(guint timeout_sec,
|
|||
gpointer user_data,
|
||||
GDestroyNotify destroy_notify);
|
||||
|
||||
GSource *
|
||||
nm_g_unix_fd_source_new(int fd,
|
||||
GIOCondition io_condition,
|
||||
int priority,
|
||||
gboolean (*source_func)(int fd, GIOCondition condition, gpointer user_data),
|
||||
gpointer user_data,
|
||||
GDestroyNotify destroy_notify);
|
||||
GSource *nm_g_unix_fd_source_new(int fd,
|
||||
GIOCondition io_condition,
|
||||
int priority,
|
||||
GUnixFDSourceFunc source_func,
|
||||
gpointer user_data,
|
||||
GDestroyNotify destroy_notify);
|
||||
|
||||
GSource *nm_g_unix_signal_source_new(int signum,
|
||||
int priority,
|
||||
GSourceFunc handler,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue