[gnome-builder] source-view: add some tracing



commit bd7d53b27ff6ff776cbcee5a43db7c9334fc1e6d
Author: Christian Hergert <christian hergert me>
Date:   Mon Mar 7 21:15:20 2016 -0800

    source-view: add some tracing

 libide/ide-source-view.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index 57123af..4d9f51b 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -2563,6 +2563,8 @@ ide_source_view_get_definition_on_mouse_over_cb (GObject      *object,
   g_autoptr(GError) error = NULL;
   IdeSourceLocation *srcloc;
 
+  IDE_ENTRY;
+
   g_assert (IDE_IS_BUFFER (buffer));
   g_assert (IDE_IS_SOURCE_VIEW (self));
 
@@ -2571,7 +2573,7 @@ ide_source_view_get_definition_on_mouse_over_cb (GObject      *object,
   if (symbol == NULL)
     {
       g_warning ("%s", error->message);
-      return;
+      IDE_EXIT;
     }
 
   srcloc = ide_symbol_get_definition_location (symbol);
@@ -2604,6 +2606,8 @@ ide_source_view_get_definition_on_mouse_over_cb (GObject      *object,
     {
       ide_source_view_reset_definition_highlight (self);
     }
+
+  IDE_EXIT;
 }
 
 static gboolean


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