[gnome-calendar/wip/flb/weather-forecast: 130/135] weather, timer: Set log domains



commit 9ac45e840d1b84c295f1c7ff376f9214d86f1012
Author: Florian Brosch <flo brosch gmail com>
Date:   Tue Oct 24 00:10:04 2017 +0200

    weather, timer: Set log domains

 src/gcal-timer.c           | 2 ++
 src/gcal-weather-info.c    | 2 ++
 src/gcal-weather-service.c | 3 ++-
 3 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/gcal-timer.c b/src/gcal-timer.c
index 6c95db4a..66fd56c4 100644
--- a/src/gcal-timer.c
+++ b/src/gcal-timer.c
@@ -17,6 +17,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "Timer"
+
 #include "gcal-timer.h"
 
 
diff --git a/src/gcal-weather-info.c b/src/gcal-weather-info.c
index 2db9bc1d..a85353a1 100644
--- a/src/gcal-weather-info.c
+++ b/src/gcal-weather-info.c
@@ -16,6 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "Weather"
+
 #include <string.h>
 #include "gcal-weather-info.h"
 
diff --git a/src/gcal-weather-service.c b/src/gcal-weather-service.c
index a6652035..6bc76fbc 100644
--- a/src/gcal-weather-service.c
+++ b/src/gcal-weather-service.c
@@ -16,7 +16,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-#define DESKTOP_FILE_NAME         "org.gnome.Calendar"
+#define G_LOG_DOMAIN      "Weather"
+#define DESKTOP_FILE_NAME "org.gnome.Calendar"
 
 #include <geocode-glib/geocode-glib.h>
 #include <geoclue.h>


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