pidgin/gtksmiley.c

branch
release-2.x.y
changeset 42586
488055ab5531
parent 40755
fb2056ce3c58
--- 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)

mercurial