diff options
| author | Michael Biebl <biebl@debian.org> | 2022-03-23 11:51:40 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2022-03-23 11:51:40 +0100 |
| commit | 8c623dddbdebe354cb94bfc559a5371a14865317 (patch) | |
| tree | b8c48e415a98834ca1e19c8fa677ac04b9c51d4a /src/libnm-glib-aux/nm-shared-utils.h | |
| parent | 4f887bccf1cde84106588536584a2d54a5b4e6e5 (diff) | |
New upstream version 1.36.4 upstream/1.36.4
Diffstat (limited to 'src/libnm-glib-aux/nm-shared-utils.h')
| -rw-r--r-- | src/libnm-glib-aux/nm-shared-utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libnm-glib-aux/nm-shared-utils.h b/src/libnm-glib-aux/nm-shared-utils.h index 54550f27..a953140b 100644 --- a/src/libnm-glib-aux/nm-shared-utils.h +++ b/src/libnm-glib-aux/nm-shared-utils.h @@ -1789,7 +1789,7 @@ nm_g_idle_add_source(GSourceFunc func, gpointer user_data) /* A convenience function to attach a new timeout source to the default GMainContext. * In that sense it's very similar to g_idle_add() except that it returns a * reference to the new source. */ - return nm_g_source_attach(nm_g_idle_source_new(G_PRIORITY_DEFAULT, func, user_data, NULL), + return nm_g_source_attach(nm_g_idle_source_new(G_PRIORITY_DEFAULT_IDLE, func, user_data, NULL), NULL); } @@ -1931,6 +1931,8 @@ nm_g_main_context_iterate_ready(GMainContext *context) void nm_g_main_context_iterate_for_msec(GMainContext *context, guint timeout_msec); +gboolean nm_g_main_context_can_acquire(GMainContext *context); + /*****************************************************************************/ static inline int |