summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-bg-crossfade.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmate-desktop/mate-bg-crossfade.c')
-rw-r--r--libmate-desktop/mate-bg-crossfade.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/libmate-desktop/mate-bg-crossfade.c b/libmate-desktop/mate-bg-crossfade.c
index 0642c5b..48afc37 100644
--- a/libmate-desktop/mate-bg-crossfade.c
+++ b/libmate-desktop/mate-bg-crossfade.c
@@ -300,24 +300,17 @@ MateBGCrossfade* mate_bg_crossfade_new(int width, int height)
gboolean mate_bg_crossfade_set_start_pixmap(MateBGCrossfade* fade, GdkPixmap* pixmap)
#endif
{
-/* I am disabling this because background fade break the mate-file-manager
- * Estoy deshabilitando esto por que el efecto de desvanecimiento del fondo de pantalla, hace
- * el mate-file-manager se cierre por un evento de BadDrawing enviado por Xorg.
- * Y hasta que no sea solucionado, no es tan indispensable esta funcion.
- * Pero sospecho que la funcion tile_pixmap tiene algo que ver...
- */
-return FALSE;
-
g_return_val_if_fail (MATE_IS_BG_CROSSFADE (fade), FALSE);
- if (fade->priv->fading_pixmap != NULL) {
+ if (fade->priv->fading_pixmap != NULL)
+ {
g_object_unref (fade->priv->fading_pixmap);
fade->priv->fading_pixmap = NULL;
}
- fade->priv->fading_pixmap = tile_pixmap (pixmap,
- fade->priv->width,
- fade->priv->height);
+ fade->priv->fading_pixmap = tile_pixmap(pixmap,
+ fade->priv->width,
+ fade->priv->height);
return fade->priv->fading_pixmap != NULL;
}