background: Fix leak of the Flickr source
The Flickr source was never disposed of when destroying the selection dialog. https://bugzilla.gnome.org/show_bug.cgi?id=709243
This commit is contained in:
parent
e7433f1629
commit
c2413a3c3e
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ cc_background_chooser_dialog_dispose (GObject *object)
|
|||
g_clear_object (&priv->pictures_source);
|
||||
g_clear_object (&priv->colors_source);
|
||||
g_clear_object (&priv->wallpapers_source);
|
||||
#ifdef HAVE_LIBSOCIALWEB
|
||||
g_clear_object (&priv->flickr_source);
|
||||
#endif
|
||||
g_clear_object (&priv->thumb_factory);
|
||||
|
||||
G_OBJECT_CLASS (cc_background_chooser_dialog_parent_class)->dispose (object);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue