gtk-demo: Fix a crash

This was broken in 6b2c088a29.
This commit is contained in:
Matthias Clasen 2023-06-17 17:54:21 -04:00
parent d59fc3da3c
commit caa8fb4fac

View File

@ -306,7 +306,7 @@ retry:
texture = gdk_texture_new_for_pixbuf (pixbuf2);
gtk_picture_set_paintable (GTK_PICTURE (image), GDK_PAINTABLE (texture));
g_object_unref (pixbuf2);
g_object_unref (pixbuf2);
g_object_unref (texture);
}
static gboolean fading = FALSE;