diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2023-02-22 02:58:05 +0000 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2023-05-09 18:10:16 +0100 |
commit | ffbb66e2632498b63162949835f33daaddf8a623 (patch) | |
tree | 33ce178d79d55e28fd9f86f0dfa45e9154192dba | |
parent | 3ed468f5724b973cdfd68b17e3f63366e82cd2e7 (diff) | |
download | glib-ffbb66e2632498b63162949835f33daaddf8a623.tar.gz |
gdbusprivate: Use G_SOURCE_REMOVE in a source callback
This is equivalent to the current behaviour, but a little clearer in its
meaning.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #1264
-rw-r--r-- | gio/gdbusprivate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gdbusprivate.c b/gio/gdbusprivate.c index 5aa141a60..2c9238c63 100644 --- a/gio/gdbusprivate.c +++ b/gio/gdbusprivate.c @@ -980,7 +980,7 @@ on_socket_ready (GSocket *socket, { MessageToWriteData *data = g_steal_pointer (&user_data); write_message_continue_writing (g_steal_pointer (&data)); - return FALSE; /* remove source */ + return G_SOURCE_REMOVE; } #endif |