From da6fba987762acf7eaa67ae79b38ce533d9b0ffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> Date: Sat, 12 May 2018 12:20:35 +0200 Subject: [PATCH] Set G_LOG_DOMAIN --- src/background.c | 2 ++ src/favorites.c | 3 ++- src/lockscreen.c | 2 ++ src/panel.c | 2 ++ src/phosh.c | 2 ++ src/settings.c | 2 ++ src/settings/brightness.c | 2 ++ 7 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/background.c b/src/background.c index 00c9fd7..54d64da 100644 --- a/src/background.c +++ b/src/background.c @@ -5,6 +5,8 @@ * Author: Guido Günther <agx@sigxcpu.org> */ +#define G_LOG_DOMAIN "phosh-background" + #include "background.h" #include "phosh.h" #include "panel.h" diff --git a/src/favorites.c b/src/favorites.c index eabf93f..edb64c5 100644 --- a/src/favorites.c +++ b/src/favorites.c @@ -6,9 +6,10 @@ * Based on maynard's favorites whish is * Copyright (C) 2013 Collabora Ltd. * Author: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> - */ +#define G_LOG_DOMAIN "phosh-favorites" + #include "config.h" #include "favorites.h" diff --git a/src/lockscreen.c b/src/lockscreen.c index 5821050..2b0d1db 100644 --- a/src/lockscreen.c +++ b/src/lockscreen.c @@ -4,6 +4,8 @@ * Author: Guido Günther <agx@sigxcpu.org> */ +#define G_LOG_DOMAIN "phosh-lockscreen" + #include "config.h" #include "lockscreen.h" #include "wwaninfo.h" diff --git a/src/panel.c b/src/panel.c index 37c9003..ce0a363 100644 --- a/src/panel.c +++ b/src/panel.c @@ -8,6 +8,8 @@ * Author: Jonny Lamb <jonny.lamb@collabora.co.uk> */ +#define G_LOG_DOMAIN "phosh-panel" + #include "config.h" #include "panel.h" diff --git a/src/phosh.c b/src/phosh.c index 61732ff..4525f1b 100644 --- a/src/phosh.c +++ b/src/phosh.c @@ -8,6 +8,8 @@ * Author: Jonny Lamb <jonny.lamb@collabora.co.uk> */ +#define G_LOG_DOMAIN "phosh-phosh" + #include <stdlib.h> #include <string.h> diff --git a/src/settings.c b/src/settings.c index 46ad110..a55a916 100644 --- a/src/settings.c +++ b/src/settings.c @@ -5,6 +5,8 @@ * Author: Guido Günther <agx@sigxcpu.org> */ +#define G_LOG_DOMAIN "phosh-settings" + #include <glib/gi18n.h> #include "phosh.h" diff --git a/src/settings/brightness.c b/src/settings/brightness.c index 0ee8019..f9d8dea 100644 --- a/src/settings/brightness.c +++ b/src/settings/brightness.c @@ -5,6 +5,8 @@ * Author: Guido Günther <agx@sigxcpu.org> */ +#define G_LOG_DOMAIN "phosh-settings-brightness" + #include <gio/gio.h> #include <gtk/gtk.h> -- GitLab