[retro-gtk] environment: Set the log domain to RetroEnvironment
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] environment: Set the log domain to RetroEnvironment
- Date: Sat, 19 Dec 2020 08:15:56 +0000 (UTC)
commit 3a6965a02ac42af827c902368de758afb1a331b2
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Dec 17 19:43:08 2020 +0100
environment: Set the log domain to RetroEnvironment
This helps better know at a glance where the error comes from.
retro-runner/retro-environment.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/retro-runner/retro-environment.c b/retro-runner/retro-environment.c
index e67cb35..16fc47f 100644
--- a/retro-runner/retro-environment.c
+++ b/retro-runner/retro-environment.c
@@ -9,6 +9,9 @@
#include "retro-hw-render-callback-private.h"
#include "retro-rumble-effect.h"
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "RetroEnvironment"
+
#define TRUENESS(boolean) ((boolean) ? "true" : "false")
#define RETRO_ENVIRONMENT_EXPERIMENTAL 0x10000
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]