priv->cached_view = NULL;
priv->cached_editor = NULL;
+
+ priv->windows_that_prevent_hibernation = NULL;
}
static void
priv->cached_editor = NULL;
}
+ if (priv->windows_that_prevent_hibernation) {
+ g_slist_free (priv->windows_that_prevent_hibernation);
+ priv->cached_editor = NULL;
+ }
+
g_slist_foreach (priv->preregistered_uids, (GFunc)g_free, NULL);
g_slist_free (priv->preregistered_uids);