forked from AuroraMiddleware/gtk
stack: Don't leak the pages property
We were misusing a transfer-full getter here.
This commit is contained in:
parent
4cf69fbc5e
commit
45f4090eec
@ -749,7 +749,7 @@ gtk_stack_get_property (GObject *object,
|
||||
g_value_set_boolean (value, gtk_stack_get_interpolate_size (stack));
|
||||
break;
|
||||
case PROP_PAGES:
|
||||
g_value_set_object (value, gtk_stack_get_pages (stack));
|
||||
g_value_take_object (value, gtk_stack_get_pages (stack));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
|
||||
|
Loading…
Reference in New Issue
Block a user