diff options
author | Monsta <[email protected]> | 2015-08-21 19:21:58 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-09-01 13:10:22 +0300 |
commit | 4d87802a9ddc4efd6cdd3bc672ba80de9a0941ff (patch) | |
tree | 224fcfad017a4844899d38b7fc4504606ee8047e | |
parent | 3049b9b3d9d76c839c5880dc7751d79e3aa66eaa (diff) | |
download | mate-utils-4d87802a9ddc4efd6cdd3bc672ba80de9a0941ff.tar.bz2 mate-utils-4d87802a9ddc4efd6cdd3bc672ba80de9a0941ff.tar.xz |
logview: don't clear the active log ref immediately on close
from
https://git.gnome.org/browse/gnome-system-log/commit/?id=febc1baa30ee4035e20d513c2bd77a579f1d8fea
-rw-r--r-- | logview/logview-manager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/logview/logview-manager.c b/logview/logview-manager.c index 2448468e..a87da3ec 100644 --- a/logview/logview-manager.c +++ b/logview/logview-manager.c @@ -406,8 +406,7 @@ logview_manager_close_active_log (LogviewManager *manager) g_object_unref (file); - /* we own two refs to the active log; one is inside the hash table */ - g_object_unref (active_log); + /* drop the hash table ref */ g_hash_table_remove (manager->priv->logs, log_uri); g_free (log_uri); |