[sysprof/wip/chergert/sysprof-3] libsysprof-ui: always propagate reader to visualizer



commit 21423273d03a3edde77d343ac028dd0130263658
Author: Christian Hergert <chergert redhat com>
Date:   Mon May 20 00:59:11 2019 -0700

    libsysprof-ui: always propagate reader to visualizer

 src/libsysprof-ui/sysprof-capture-view.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-capture-view.c b/src/libsysprof-ui/sysprof-capture-view.c
index 4fd67a6..520b8e1 100644
--- a/src/libsysprof-ui/sysprof-capture-view.c
+++ b/src/libsysprof-ui/sysprof-capture-view.c
@@ -639,8 +639,7 @@ sysprof_capture_view_load_scan_cb (GObject      *object,
                                                      g_object_ref (task));
     }
 
-  if (priv->features.has_counters || priv->features.has_marks)
-    sysprof_visualizer_view_set_reader (priv->visualizer_view, state->reader);
+  sysprof_visualizer_view_set_reader (priv->visualizer_view, state->reader);
 
   state->n_active++;
   sysprof_marks_view_load_async (priv->marks_view,


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