mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	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
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user