summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-24 15:06:01 +0100
committerinfirit <[email protected]>2014-11-30 18:31:07 +0100
commitbbc70e6c7a1701f1e036ad174dbb401be9250ed4 (patch)
tree37b6c0fcfd05f0bb85977c68c49ba1f1c3156f12 /src
parent94aecb2f6832701add2c93cf87dadcd510764604 (diff)
downloadmate-screensaver-bbc70e6c7a1701f1e036ad174dbb401be9250ed4.tar.bz2
mate-screensaver-bbc70e6c7a1701f1e036ad174dbb401be9250ed4.tar.xz
Update to api changes for MateRR* in mate-desktop
Diffstat (limited to 'src')
-rw-r--r--src/gs-fade.c4
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);