summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Lunn <tim@feathertop.org>2013-08-26 11:39:38 +1000
committerGiovanni Campagna <gcampagn@redhat.com>2013-08-27 09:57:06 +0200
commitab72352c47bfdc9a41ea83b3a8e36a7572ec8f63 (patch)
tree53092d1cc4a2d66bb082b2e63092591d206c014e
parentf09b9573f0246fc45e3ab79c63ccb1da0867324f (diff)
downloadmutter-ab72352c47bfdc9a41ea83b3a8e36a7572ec8f63.tar.gz
background: don't save pixbuf in user data
https://bugzilla.gnome.org/show_bug.cgi?id=706777
-rw-r--r--src/compositor/meta-background.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/compositor/meta-background.c b/src/compositor/meta-background.c
index 4c615016e..830e1c67d 100644
--- a/src/compositor/meta-background.c
+++ b/src/compositor/meta-background.c
@@ -1031,7 +1031,6 @@ meta_background_load_file_finish (MetaBackground *self,
GAsyncResult *result,
GError **error)
{
- static CoglUserDataKey key;
GTask *task;
LoadFileTaskData *task_data;
CoglTexture *texture;
@@ -1077,12 +1076,6 @@ meta_background_load_file_finish (MetaBackground *self,
goto out;
}
- cogl_object_set_user_data (COGL_OBJECT (texture),
- &key,
- g_object_ref (pixbuf),
- (CoglUserDataDestroyCallback)
- g_object_unref);
-
ensure_pipeline (self);
unset_texture (self);
set_style (self, task_data->style);