aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-smiley-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-smiley-manager.c')
-rw-r--r--libempathy-gtk/empathy-smiley-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-smiley-manager.c b/libempathy-gtk/empathy-smiley-manager.c
index 900e9211c..0d3e4c512 100644
--- a/libempathy-gtk/empathy-smiley-manager.c
+++ b/libempathy-gtk/empathy-smiley-manager.c
@@ -245,6 +245,8 @@ smiley_manager_add_valist (EmpathySmileyManager *manager,
}
/* We give the ownership of path to the smiley */
+ g_object_set_data_full (G_OBJECT (pixbuf), "smiley_str",
+ g_strdup (first_str), g_free);
smiley = smiley_new (pixbuf, g_strdup (first_str), path);
priv->smileys = g_slist_prepend (priv->smileys, smiley);
}