background: Major rework of the CcBackgroundItem code
It now is a full GObject, will be able to track the original XML file for a wallpaper, as well as which values are set in it. This will allow us to restore wallpapers properly, and only offer editing options when those aren't already hard-coded inside the item.
This commit is contained in:
parent
9a209fa181
commit
ca14846ef9
12 changed files with 1092 additions and 506 deletions
|
@ -76,12 +76,12 @@ free_tree_model_items (GtkTreeModel *model,
|
|||
GtkTreeIter *iter,
|
||||
gpointer data)
|
||||
{
|
||||
GnomeWPItem *item = NULL;
|
||||
CcBackgroundItem *item = NULL;
|
||||
|
||||
gtk_tree_model_get (model, iter, 1, &item, -1);
|
||||
|
||||
if (item)
|
||||
cc_background_item_free (item);
|
||||
g_object_unref (item);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue