22 lines
938 B
Diff
22 lines
938 B
Diff
--- gnome-settings-daemon-2.23.92/plugins/background/gsd-background-manager.c 2008-08-04 10:25:52.000000000 -0400
|
|
+++ fade/plugins/background/gsd-background-manager.c 2008-09-18 21:48:20.000000000 -0400
|
|
@@ -174,6 +174,7 @@
|
|
GdkScreen *screen;
|
|
GdkWindow *root_window;
|
|
GdkPixmap *pixmap;
|
|
+ GnomeBGCrossfade *fade;
|
|
|
|
screen = gdk_display_get_screen (display, i);
|
|
|
|
@@ -185,7 +186,9 @@
|
|
gdk_screen_get_height (screen),
|
|
TRUE);
|
|
|
|
- gnome_bg_set_pixmap_as_root (screen, pixmap);
|
|
+ fade = gnome_bg_set_pixmap_as_root_with_crossfade (screen, pixmap, NULL);
|
|
+ g_signal_connect (fade, "finished",
|
|
+ G_CALLBACK (g_object_unref), NULL);
|
|
|
|
g_object_unref (pixmap);
|
|
}
|