[gnome-calendar] window: Add more tracing



commit 87e376b15bb3ce7838cabe12cb4929a43337b1b4
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat Feb 12 18:13:20 2022 -0300

    window: Add more tracing

 src/gui/gcal-window.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/gui/gcal-window.c b/src/gui/gcal-window.c
index 82402c4a..307f8ce7 100644
--- a/src/gui/gcal-window.c
+++ b/src/gui/gcal-window.c
@@ -356,6 +356,8 @@ on_view_action_activated (GSimpleAction *action,
   GcalWindow *window = GCAL_WINDOW (user_data);
   gint32 view;
 
+  GCAL_ENTRY;
+
   view = g_variant_get_int32 (param);
 
   /* -1 means next view */
@@ -368,6 +370,8 @@ on_view_action_activated (GSimpleAction *action,
   adw_view_stack_set_visible_child (window->views_stack, window->views[window->active_view]);
 
   g_object_notify_by_pspec (G_OBJECT (user_data), properties[PROP_ACTIVE_VIEW]);
+
+  GCAL_EXIT;
 }
 
 static void


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