[glib/glib-2-52] Disambiguate source names
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-52] Disambiguate source names
- Date: Wed, 28 Jun 2017 19:50:16 +0000 (UTC)
commit 2f4d79a6da6c1a88fc180249eedd25172190d232
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 28 15:49:40 2017 -0400
Disambiguate source names
This makes debugging more pleasant.
gio/gdbusconnection.c | 2 +-
gio/gdbusnameowning.c | 2 +-
gio/gdbusnamewatching.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c
index 7c88a4e..1cf59cc 100644
--- a/gio/gdbusconnection.c
+++ b/gio/gdbusconnection.c
@@ -4900,7 +4900,7 @@ schedule_method_call (GDBusConnection *connection,
call_in_idle_cb,
invocation,
g_object_unref);
- g_source_set_name (idle_source, "[gio] call_in_idle_cb");
+ g_source_set_name (idle_source, "[gio, " __FILE__ "] call_in_idle_cb");
g_source_attach (idle_source, main_context);
g_source_unref (idle_source);
}
diff --git a/gio/gdbusnameowning.c b/gio/gdbusnameowning.c
index c95e434..3e5faeb 100644
--- a/gio/gdbusnameowning.c
+++ b/gio/gdbusnameowning.c
@@ -197,7 +197,7 @@ schedule_call_in_idle (Client *client, CallType call_type)
call_in_idle_cb,
data,
(GDestroyNotify) call_handler_data_free);
- g_source_set_name (idle_source, "[gio] call_in_idle_cb");
+ g_source_set_name (idle_source, "[gio, gdbusnameowning.c] call_in_idle_cb");
g_source_attach (idle_source, client->main_context);
g_source_unref (idle_source);
}
diff --git a/gio/gdbusnamewatching.c b/gio/gdbusnamewatching.c
index 14603c5..3cb2b57 100644
--- a/gio/gdbusnamewatching.c
+++ b/gio/gdbusnamewatching.c
@@ -201,7 +201,7 @@ schedule_call_in_idle (Client *client, CallType call_type)
call_in_idle_cb,
data,
(GDestroyNotify) call_handler_data_free);
- g_source_set_name (idle_source, "[gio] call_in_idle_cb");
+ g_source_set_name (idle_source, "[gio, gdbusnamewatching.c] call_in_idle_cb");
g_source_attach (idle_source, client->main_context);
g_source_unref (idle_source);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]