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



commit 12f5e5dcd59d3dd51c1d1fbe794dedb09cd59127
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 deletions(-)
---
diff --git a/src/gcal-timer.c b/src/gcal-timer.c
index 6c95db4..66fd56c 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 2db9bc1..a85353a 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 f477f76..d8419ba 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]