[gnome-calendar/gnome-3-24] project: override log domains



commit ddd012ee4ebcb088a4d4cc92429f7a271ec0957e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Mar 16 22:19:08 2017 -0300

    project: override log domains
    
    This way, we can have more useful debug spils.

 src/gcal-application.c           |    2 ++
 src/gcal-date-chooser-day.c      |    2 ++
 src/gcal-date-chooser.c          |    2 ++
 src/gcal-date-selector.c         |    2 ++
 src/gcal-edit-dialog.c           |    2 ++
 src/gcal-event-widget.c          |    2 ++
 src/gcal-event.c                 |    2 ++
 src/gcal-manager.c               |    2 ++
 src/gcal-multi-choice.c          |    2 ++
 src/gcal-quick-add-popover.c     |    2 ++
 src/gcal-search-view.c           |    2 ++
 src/gcal-shell-search-provider.c |    2 ++
 src/gcal-source-dialog.c         |    2 ++
 src/gcal-subscriber-view.c       |    2 ++
 src/gcal-time-selector.c         |    2 ++
 src/gcal-utils.c                 |    2 ++
 src/gcal-view.c                  |    2 ++
 src/gcal-window.c                |    2 ++
 src/views/gcal-month-view.c      |    2 ++
 src/views/gcal-range-tree.c      |    2 ++
 src/views/gcal-week-grid.c       |    2 ++
 src/views/gcal-week-header.c     |    2 ++
 src/views/gcal-week-view.c       |    2 ++
 src/views/gcal-year-view.c       |    2 ++
 24 files changed, 48 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-application.c b/src/gcal-application.c
index 152fa3c..af55a93 100644
--- a/src/gcal-application.c
+++ b/src/gcal-application.c
@@ -21,6 +21,8 @@
 #include "config.h"
 #endif
 
+#define G_LOG_DOMAIN "GcalApplication"
+
 #include "gcal-application.h"
 #include "css-code.h"
 #include "gcal-window.h"
diff --git a/src/gcal-date-chooser-day.c b/src/gcal-date-chooser-day.c
index 431ee2c..7886d8a 100644
--- a/src/gcal-date-chooser-day.c
+++ b/src/gcal-date-chooser-day.c
@@ -18,6 +18,8 @@
 
 #include "config.h"
 
+#define G_LOG_DOMAIN "GcalDateChooserDay"
+
 #include "gcal-date-chooser-day.h"
 
 #include <stdlib.h>
diff --git a/src/gcal-date-chooser.c b/src/gcal-date-chooser.c
index b463d56..44268b6 100644
--- a/src/gcal-date-chooser.c
+++ b/src/gcal-date-chooser.c
@@ -18,6 +18,8 @@
 
 #include "config.h"
 
+#define G_LOG_DOMAIN "GcalDateChooser"
+
 #include "gcal-utils.h"
 #include "gcal-date-chooser.h"
 #include "gcal-date-chooser-day.h"
diff --git a/src/gcal-date-selector.c b/src/gcal-date-selector.c
index 41075e9..3d173b5 100644
--- a/src/gcal-date-selector.c
+++ b/src/gcal-date-selector.c
@@ -17,6 +17,8 @@
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalDateSelector"
+
 #include "gcal-date-chooser.h"
 #include "gcal-date-selector.h"
 
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index 34dd1e7..f32531a 100644
--- a/src/gcal-edit-dialog.c
+++ b/src/gcal-edit-dialog.c
@@ -18,6 +18,8 @@
  */
 #include "config.h"
 
+#define G_LOG_DOMAIN "GcalEditDialog"
+
 #include "gcal-edit-dialog.h"
 #include "gcal-time-selector.h"
 #include "gcal-date-selector.h"
diff --git a/src/gcal-event-widget.c b/src/gcal-event-widget.c
index f7e5035..9c0ead3 100644
--- a/src/gcal-event-widget.c
+++ b/src/gcal-event-widget.c
@@ -17,6 +17,8 @@
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalEventWidget"
+
 #include <string.h>
 
 #include "gcal-event-widget.h"
diff --git a/src/gcal-event.c b/src/gcal-event.c
index 8b75f87..b6dfb9d 100644
--- a/src/gcal-event.c
+++ b/src/gcal-event.c
@@ -16,6 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalEvent"
+
 #include "gcal-event.h"
 #include "gcal-utils.h"
 
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index 735f244..045e328 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -17,6 +17,8 @@
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalManager"
+
 #include "gcal-manager.h"
 #include "gcal-utils.h"
 
diff --git a/src/gcal-multi-choice.c b/src/gcal-multi-choice.c
index 6b0ac0e..35bf698 100644
--- a/src/gcal-multi-choice.c
+++ b/src/gcal-multi-choice.c
@@ -18,6 +18,8 @@
 
 #include "config.h"
 
+#define G_LOG_DOMAIN "GcalMultiChoice"
+
 #include "gcal-multi-choice.h"
 
 struct _GcalMultiChoice
diff --git a/src/gcal-quick-add-popover.c b/src/gcal-quick-add-popover.c
index 7c7e574..a319274 100644
--- a/src/gcal-quick-add-popover.c
+++ b/src/gcal-quick-add-popover.c
@@ -16,6 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalQuickAddPopover"
+
 #include <glib/gi18n.h>
 
 #include "gcal-quick-add-popover.h"
diff --git a/src/gcal-search-view.c b/src/gcal-search-view.c
index fa99932..f5a3caa 100644
--- a/src/gcal-search-view.c
+++ b/src/gcal-search-view.c
@@ -18,6 +18,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalSearchView"
+
 #include "gcal-search-view.h"
 
 #include "gcal-event.h"
diff --git a/src/gcal-shell-search-provider.c b/src/gcal-shell-search-provider.c
index c13e505..5429c62 100644
--- a/src/gcal-shell-search-provider.c
+++ b/src/gcal-shell-search-provider.c
@@ -16,6 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalShellSearchProvider"
+
 #include "gcal-shell-search-provider.h"
 #include "gcal-shell-search-provider-generated.h"
 
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index ad90f85..3a68359 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -16,6 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "Gca├žSourceDialog"
+
 #include "gcal-source-dialog.h"
 #include "gcal-utils.h"
 
diff --git a/src/gcal-subscriber-view.c b/src/gcal-subscriber-view.c
index 79bb8d0..23c010a 100644
--- a/src/gcal-subscriber-view.c
+++ b/src/gcal-subscriber-view.c
@@ -18,6 +18,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalSubscriberView"
+
 #include "gcal-subscriber-view.h"
 #include "gcal-subscriber-view-private.h"
 
diff --git a/src/gcal-time-selector.c b/src/gcal-time-selector.c
index 54109c8..f4f2905 100644
--- a/src/gcal-time-selector.c
+++ b/src/gcal-time-selector.c
@@ -18,6 +18,8 @@
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalTimeSelector"
+
 #include "gcal-time-selector.h"
 
 #include <glib/gi18n.h>
diff --git a/src/gcal-utils.c b/src/gcal-utils.c
index ed73f61..cbcdb7e 100644
--- a/src/gcal-utils.c
+++ b/src/gcal-utils.c
@@ -20,6 +20,8 @@
 
 #include "config.h"
 
+#define G_LOG_DOMAIN "Utils"
+
 #include "gcal-utils.h"
 #include "gcal-event-widget.h"
 #include "gcal-view.h"
diff --git a/src/gcal-view.c b/src/gcal-view.c
index 6c29102..7ad4005 100644
--- a/src/gcal-view.c
+++ b/src/gcal-view.c
@@ -19,6 +19,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalView"
+
 #include "gcal-view.h"
 #include "gcal-utils.h"
 
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 3233c82..847bd59 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -18,6 +18,8 @@
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalWindow"
+
 #include "gcal-window.h"
 
 #include "gcal-manager.h"
diff --git a/src/views/gcal-month-view.c b/src/views/gcal-month-view.c
index 8ea0eaa..3ae3902 100644
--- a/src/views/gcal-month-view.c
+++ b/src/views/gcal-month-view.c
@@ -22,6 +22,8 @@
 #include "config.h"
 #endif
 
+#define G_LOG_DOMAIN "GcalMonthView"
+
 #include "gcal-month-view.h"
 #include "gcal-subscriber-view-private.h"
 #include "gcal-utils.h"
diff --git a/src/views/gcal-range-tree.c b/src/views/gcal-range-tree.c
index 8b85649..7fb5b9c 100644
--- a/src/views/gcal-range-tree.c
+++ b/src/views/gcal-range-tree.c
@@ -16,6 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalRangeTree"
+
 #include "gcal-range-tree.h"
 
 typedef struct _Node
diff --git a/src/views/gcal-week-grid.c b/src/views/gcal-week-grid.c
index f469583..c87c6a2 100644
--- a/src/views/gcal-week-grid.c
+++ b/src/views/gcal-week-grid.c
@@ -17,6 +17,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalWeekGrid"
+
 #include "gcal-week-grid.h"
 #include "gcal-week-view.h"
 #include "gcal-utils.h"
diff --git a/src/views/gcal-week-header.c b/src/views/gcal-week-header.c
index 1b01475..940ad83 100644
--- a/src/views/gcal-week-header.c
+++ b/src/views/gcal-week-header.c
@@ -19,6 +19,8 @@
 
 #include "config.h"
 
+#define G_LOG_DOMAIN "GcalWeekHeader"
+
 #include "gcal-week-header.h"
 #include "gcal-week-view.h"
 #include "gcal-utils.h"
diff --git a/src/views/gcal-week-view.c b/src/views/gcal-week-view.c
index d3118f4..f15e781 100644
--- a/src/views/gcal-week-view.c
+++ b/src/views/gcal-week-view.c
@@ -18,6 +18,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalWeekView"
+
 #include "gcal-week-view.h"
 #include "gcal-utils.h"
 #include "gcal-view.h"
diff --git a/src/views/gcal-year-view.c b/src/views/gcal-year-view.c
index cf61d23..622ace4 100644
--- a/src/views/gcal-year-view.c
+++ b/src/views/gcal-year-view.c
@@ -17,6 +17,8 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#define G_LOG_DOMAIN "GcalYearView"
+
 #include "gcal-year-view.h"
 #include "gcal-view.h"
 #include "gcal-utils.h"


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