background: Add "added" signal to CcBackgroundXml
So that the front-end can load the wallpapers piece-meal, and avoid overloading the UI on startup.
This commit is contained in:
parent
415d4c1111
commit
c2e84e2c8a
2 changed files with 69 additions and 6 deletions
|
@ -36,17 +36,18 @@ G_BEGIN_DECLS
|
|||
|
||||
typedef struct CcBackgroundXmlPrivate CcBackgroundXmlPrivate;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
} CcBackgroundXmlClass;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
GObject parent;
|
||||
CcBackgroundXmlPrivate *priv;
|
||||
} CcBackgroundXml;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
void (*added) (CcBackgroundXml *xml, GObject *item);
|
||||
} CcBackgroundXmlClass;
|
||||
|
||||
GType cc_background_xml_get_type (void);
|
||||
|
||||
CcBackgroundXml *cc_background_xml_new (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue