From a4bf9a9400b1f644c23f8626cb46e64a3bd0b047 Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Wed, 15 Dec 2010 15:47:33 +0000 Subject: Load images asynchronously --- liszt/contact-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liszt/contact-view.c b/liszt/contact-view.c index 3b40717d9..c42cfc00e 100644 --- a/liszt/contact-view.c +++ b/liszt/contact-view.c @@ -405,6 +405,7 @@ lol_contact_view_constructed (GObject *obj) clutter_actor_set_height (box, 48.0); priv->presence_texture = clutter_texture_new (); + g_object_set (priv->presence_texture, "load-async", TRUE, NULL); clutter_actor_set_height (priv->presence_texture, 32.0); clutter_actor_set_width (priv->presence_texture, 32.0); clutter_box_pack (CLUTTER_BOX (box), priv->presence_texture, @@ -425,6 +426,7 @@ lol_contact_view_constructed (GObject *obj) clutter_actor_show (priv->name_text); priv->avatar_texture = clutter_texture_new (); + g_object_set (priv->avatar_texture, "load-async", TRUE, NULL); clutter_actor_set_height (priv->avatar_texture, 32.0); clutter_actor_set_width (priv->avatar_texture, 32.0); clutter_box_pack (CLUTTER_BOX (box), priv->avatar_texture, -- cgit v1.2.3