Re: [PATCH 2/3] all: Use G_SOURCE_REMOVE/G_SOURCE_CONTINUE macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bastien,

> Instead of TRUE/FALSE. This makes the source more readable.
> ---
> android/main.c                       |  4 ++--
> attrib/gattrib.c                     |  2 +-
> attrib/gatttool.c                    |  2 +-
> gdbus/mainloop.c                     |  6 +++---
> gdbus/object.c                       |  2 +-
> gdbus/watch.c                        |  2 +-
> gobex/gobex.c                        |  4 ++--
> obexd/client/session.c               |  4 ++--
> obexd/client/transfer.c              |  6 +++---
> obexd/plugins/messages-dummy.c       |  2 +-
> obexd/plugins/messages-tracker.c     |  2 +-
> obexd/plugins/phonebook-dummy.c      |  6 +++---
> plugins/policy.c                     |  6 +++---
> profiles/audio/a2dp.c                | 16 ++++++++--------
> profiles/audio/avctp.c               | 12 ++++++------
> profiles/audio/avdtp.c               | 14 +++++++-------
> profiles/audio/avrcp.c               |  2 +-
> profiles/audio/player.c              |  4 ++--
> profiles/cyclingspeed/cyclingspeed.c |  2 +-
> profiles/health/hdp.c                |  4 ++--
> profiles/health/mcap.c               |  2 +-
> profiles/health/mcap_sync.c          | 18 +++++++++---------
> profiles/input/device.c              | 10 +++++-----
> profiles/network/connection.c        |  2 +-
> profiles/proximity/monitor.c         |  4 ++--
> profiles/sap/server.c                |  4 ++--
> src/adapter.c                        | 20 ++++++++++----------
> src/device.c                         | 16 ++++++++--------
> src/main.c                           |  4 ++--
> src/sdp-client.c                     |  2 +-
> src/shared/hciemu.c                  |  2 +-
> src/shared/tester.c                  | 18 +++++++++---------
> tools/btiotest.c                     |  6 +++---
> unit/test-gdbus-client.c             |  4 ++--
> unit/test-gobex-transfer.c           |  2 +-
> unit/test-gobex.c                    |  4 ++--
> unit/test-sdp.c                      |  2 +-
> 37 files changed, 111 insertions(+), 111 deletions(-)
> 
> diff --git a/android/main.c b/android/main.c
> index 75004cf..a36269c 100644
> --- a/android/main.c
> +++ b/android/main.c
> @@ -377,7 +377,7 @@ static gboolean cmd_connect_cb(GIOChannel *io, GIOCondition cond,
> static gboolean quit_eventloop(gpointer user_data)
> {
> 	g_main_loop_quit(event_loop);
> -	return FALSE;
> +	return G_SOURCE_REMOVE;
> }

problem is that we currently only require GLib 2.28 and this got introduced in GLib 2.32.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux