[gnome-shell] StTextureCache: Fix a fallout from GTask port
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] StTextureCache: Fix a fallout from GTask port
- Date: Sun, 1 Nov 2015 10:33:24 +0000 (UTC)
commit df0b465e76305e011c5106d78b6fd19891db900d
Author: Kalev Lember <klember redhat com>
Date: Sun Nov 1 00:21:10 2015 +0100
StTextureCache: Fix a fallout from GTask port
Set the task data that load_pixbuf_thread func expects.
https://bugzilla.gnome.org/show_bug.cgi?id=757418
src/st/st-texture-cache.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index d4a4ee9..88c6bf3 100644
--- a/src/st/st-texture-cache.c
+++ b/src/st/st-texture-cache.c
@@ -575,6 +575,7 @@ load_texture_async (StTextureCache *cache,
if (data->file)
{
GTask *task = g_task_new (cache, NULL, on_pixbuf_loaded, data);
+ g_task_set_task_data (task, data, NULL);
g_task_run_in_thread (task, load_pixbuf_thread);
g_object_unref (task);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]