diff -r 61483c1a91a3 -r 00e61752e21c pidgin/gtkwebviewtoolbar.c --- a/pidgin/gtkwebviewtoolbar.c Sat Apr 05 03:35:28 2014 +0200 +++ b/pidgin/gtkwebviewtoolbar.c Sat Apr 05 03:58:04 2014 +0200 @@ -798,9 +798,8 @@ GtkImage *image; guint width; const gchar *smiley_shortcut; - const gchar *smiley_path; - smiley_path = purple_smiley_get_path(smiley); + smiley_shortcut = purple_smiley_get_shortcut(smiley); width = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(smiley), "pidgin-webviewtoolbar-button-width")); @@ -814,8 +813,6 @@ image = GTK_IMAGE(gtk_image_new_from_pixbuf(pixbuf)); - smiley_shortcut = purple_smiley_get_shortcut(smiley); - button = gtk_button_new(); gtk_container_add(GTK_CONTAINER(button), GTK_WIDGET(image)); g_object_set_data_full(G_OBJECT(button), "smiley_text",