Commit adeb5768 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

desktop-background: avoid deprecation warnings

parent 82421817
......@@ -56,8 +56,8 @@ draw_background (GfDesktopBackground *background,
screen = gdk_screen_get_default ();
root = gdk_screen_get_root_window (screen);
width = gdk_screen_get_width (screen);
height = gdk_screen_get_height (screen);
width = gdk_window_get_width (root);
height = gdk_window_get_height (root);
surface = gnome_bg_create_surface (background->bg, root, width, height, TRUE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment