From 7a0ce9804f075ddf188d5dce703861c486f40e8a Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 23 Oct 2017 12:48:11 +0200 Subject: [PATCH] aboutdialog: Use set_boxed on surface cairo_surface_t is boxed, not a GObject. --- gtk/gtkaboutdialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 2fd7968e92..1534c5b592 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -989,9 +989,9 @@ gtk_about_dialog_get_property (GObject *object, break; case PROP_LOGO: if (gtk_image_get_storage_type (GTK_IMAGE (priv->logo_image)) == GTK_IMAGE_SURFACE) - g_value_set_object (value, gtk_image_get_surface (GTK_IMAGE (priv->logo_image))); + g_value_set_boxed (value, gtk_image_get_surface (GTK_IMAGE (priv->logo_image))); else - g_value_set_object (value, NULL); + g_value_set_boxed (value, NULL); break; case PROP_LOGO_ICON_NAME: if (gtk_image_get_storage_type (GTK_IMAGE (priv->logo_image)) == GTK_IMAGE_ICON_NAME)