diff -r a91c43b65d3e -r 488055ab5531 pidgin/gtksmiley.c --- a/pidgin/gtksmiley.c Wed Oct 25 20:32:49 2023 -0500 +++ b/pidgin/gtksmiley.c Wed Jan 31 00:51:25 2024 -0600 @@ -495,7 +495,7 @@ { if (editor->custom_pixbuf) g_object_unref(G_OBJECT(editor->custom_pixbuf)); - editor->custom_pixbuf = image ? g_object_ref(G_OBJECT(image)) : NULL; + editor->custom_pixbuf = image ? g_object_ref(image) : NULL; if (image) { gtk_image_set_from_pixbuf(GTK_IMAGE(editor->smiley_image), image); if (editor->entry_len > 0)