window: Correct the property definition for icon

cairo surfaces are boxed types, not objects.
This commit is contained in:
Matthias Clasen 2017-10-23 07:39:12 +02:00
parent 85503a8f95
commit 8eea3e2ddd

View File

@ -926,11 +926,11 @@ gtk_window_class_init (GtkWindowClass *klass)
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
window_props[PROP_ICON] =
g_param_spec_object ("icon",
P_("Icon"),
P_("Icon for this window"),
CAIRO_GOBJECT_TYPE_SURFACE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
g_param_spec_boxed ("icon",
P_("Icon"),
P_("Icon for this window"),
CAIRO_GOBJECT_TYPE_SURFACE,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
* GtkWindow:mnemonics-visible: