[gnome-builder] dspy: clear owner when we lose the pid



commit 65af71b1e42d3ec060550999a854db00df37671e
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 7 08:57:54 2019 -0700

    dspy: clear owner when we lose the pid

 src/plugins/dspy/libdspy/dspy-names-model.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/dspy/libdspy/dspy-names-model.c b/src/plugins/dspy/libdspy/dspy-names-model.c
index d1ea5605a..b7b2392f0 100644
--- a/src/plugins/dspy/libdspy/dspy-names-model.c
+++ b/src/plugins/dspy/libdspy/dspy-names-model.c
@@ -198,6 +198,7 @@ dspy_names_model_name_owner_changed_cb (GDBusConnection *connection,
           dspy_name_get_name (item)[0] != ':')
         {
           _dspy_name_clear_pid (item);
+          _dspy_name_set_owner (item, NULL);
         }
       else
         {


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