Blame SOURCES/0001-background-don-t-save-pixbuf-in-user-data.patch
|
|
3c14d2 |
From c52b30d01f0abcba397c7bfa62abb311d7ea2c8a Mon Sep 17 00:00:00 2001
|
|
|
3c14d2 |
From: Tim Lunn <tim@feathertop.org>
|
|
|
3c14d2 |
Date: Mon, 26 Aug 2013 11:39:38 +1000
|
|
|
3c14d2 |
Subject: [PATCH] background: don't save pixbuf in user data
|
|
|
3c14d2 |
|
|
|
3c14d2 |
https://bugzilla.gnome.org/show_bug.cgi?id=706777
|
|
|
3c14d2 |
---
|
|
|
3c14d2 |
src/compositor/meta-background.c | 7 -------
|
|
|
3c14d2 |
1 file changed, 7 deletions(-)
|
|
|
3c14d2 |
|
|
|
3c14d2 |
diff --git a/src/compositor/meta-background.c b/src/compositor/meta-background.c
|
|
|
3c14d2 |
index 76477c8..af33f58 100644
|
|
|
3c14d2 |
--- a/src/compositor/meta-background.c
|
|
|
3c14d2 |
+++ b/src/compositor/meta-background.c
|
|
|
3c14d2 |
@@ -1031,7 +1031,6 @@ meta_background_load_file_finish (MetaBackground *self,
|
|
|
3c14d2 |
GAsyncResult *result,
|
|
|
3c14d2 |
GError **error)
|
|
|
3c14d2 |
{
|
|
|
3c14d2 |
- static CoglUserDataKey key;
|
|
|
3c14d2 |
GTask *task;
|
|
|
3c14d2 |
LoadFileTaskData *task_data;
|
|
|
3c14d2 |
CoglTexture *texture;
|
|
|
3c14d2 |
@@ -1077,12 +1076,6 @@ meta_background_load_file_finish (MetaBackground *self,
|
|
|
3c14d2 |
goto out;
|
|
|
3c14d2 |
}
|
|
|
3c14d2 |
|
|
|
3c14d2 |
- cogl_object_set_user_data (COGL_OBJECT (texture),
|
|
|
3c14d2 |
- &key,
|
|
|
3c14d2 |
- g_object_ref (pixbuf),
|
|
|
3c14d2 |
- (CoglUserDataDestroyCallback)
|
|
|
3c14d2 |
- g_object_unref);
|
|
|
3c14d2 |
-
|
|
|
3c14d2 |
ensure_pipeline (self);
|
|
|
3c14d2 |
unset_texture (self);
|
|
|
3c14d2 |
set_style (self, task_data->style);
|
|
|
3c14d2 |
--
|
|
|
3c14d2 |
1.8.5.3
|
|
|
3c14d2 |
|