diff --git a/panels/background/bg-colors-source.c b/panels/background/bg-colors-source.c
index 702855d..52b1e2d 100644
--- a/panels/background/bg-colors-source.c
+++ b/panels/background/bg-colors-source.c
@@ -93,7 +93,7 @@ bg_colors_source_init (BgColorsSource *self)
       item->pcolor = gdk_color_copy (&color);
       item->scolor = gdk_color_copy (&color);
 
-      item->shade_type = GNOME_BG_COLOR_SOLID;
+      item->shade_type = G_DESKTOP_BACKGROUND_SHADING_SOLID;
 
       gnome_wp_item_ensure_gnome_bg (item);
 
diff --git a/panels/background/bg-flickr-source.c b/panels/background/bg-flickr-source.c
index cd9efb9..3a0aa08 100644
--- a/panels/background/bg-flickr-source.c
+++ b/panels/background/bg-flickr-source.c
@@ -104,7 +104,7 @@ _view_items_added_cb (SwClientItemView *item_view,
       item->pcolor = gdk_color_copy (&color);
       item->scolor = gdk_color_copy (&color);
 
-      item->shade_type = GNOME_BG_COLOR_SOLID;
+      item->shade_type = G_DESKTOP_BACKGROUND_SHADING_SOLID;
 
       gnome_wp_item_ensure_gnome_bg (item);
 
