Blob Blame History Raw
From c52b30d01f0abcba397c7bfa62abb311d7ea2c8a Mon Sep 17 00:00:00 2001
From: Tim Lunn <tim@feathertop.org>
Date: Mon, 26 Aug 2013 11:39:38 +1000
Subject: [PATCH] background: don't save pixbuf in user data

https://bugzilla.gnome.org/show_bug.cgi?id=706777
---
 src/compositor/meta-background.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/compositor/meta-background.c b/src/compositor/meta-background.c
index 76477c8..af33f58 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);
-- 
1.8.5.3