[gtk: 1/2] profiler: Always mark events with the kind
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] profiler: Always mark events with the kind
- Date: Tue, 11 Feb 2020 19:02:00 +0000 (UTC)
commit 36808e0c815f069ff34d14c93368c4018fafdc56
Author: Alexander Larsson <alexl redhat com>
Date: Tue Feb 11 19:51:49 2020 +0100
profiler: Always mark events with the kind
gdk/gdksurface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c
index 10046c4ca1..1f554676a5 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -4110,7 +4110,7 @@ add_event_mark (GdkEvent *event,
}
else
{
- gdk_profiler_add_mark (time * 1000L, duration * 1000L, "event", message);
+ gdk_profiler_add_mark (time * 1000L, duration * 1000L, "event", message ? message : kind);
}
g_free (message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]