[sysprof] profiler: fix typo in mutable calculation



commit bcda9694c6f98c68e50be8840bf48fca56d0e248
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 3 13:57:38 2021 -0700

    profiler: fix typo in mutable calculation
    
    Fixes #65

 src/libsysprof/sysprof-local-profiler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof/sysprof-local-profiler.c b/src/libsysprof/sysprof-local-profiler.c
index 7de1a35..621df05 100644
--- a/src/libsysprof/sysprof-local-profiler.c
+++ b/src/libsysprof/sysprof-local-profiler.c
@@ -323,7 +323,7 @@ sysprof_local_profiler_get_property (GObject    *object,
       break;
 
     case PROP_IS_MUTABLE:
-      g_value_set_boolean (value, !(priv->is_starting || priv->is_starting || priv->is_running));
+      g_value_set_boolean (value, !(priv->is_starting || priv->is_stopping || priv->is_running));
       break;
 
     case PROP_IS_RUNNING:


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