diff options
-rw-r--r-- | src/gs-fade.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gs-fade.c b/src/gs-fade.c index a0ecd9a..b4ccb07 100644 --- a/src/gs-fade.c +++ b/src/gs-fade.c @@ -629,8 +629,6 @@ check_randr_extension (GSFade *fade, int screen_idx) screen_priv = &fade->priv->screen_priv[screen_idx]; screen_priv->rrscreen = mate_rr_screen_new (screen, - NULL, - NULL, NULL); if (!screen_priv->rrscreen) { @@ -988,7 +986,7 @@ gs_fade_finalize (GObject *object) { if (!fade->priv->screen_priv[i].rrscreen) continue; - mate_rr_screen_destroy (fade->priv->screen_priv[i].rrscreen); + g_object_unref (fade->priv->screen_priv[i].rrscreen); } g_free (fade->priv->screen_priv); |