gtk4: Declare correct default value for force-aspect-ratio property

It's defaulting to false as generally keeping the aspect ratio is the
job of the widget layout and not the paintable.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1654>
This commit is contained in:
Sebastian Dröge 2024-07-06 13:41:44 +03:00
parent ac0e24b2bd
commit 195c089f18

View file

@ -99,7 +99,7 @@ impl ObjectImpl for Paintable {
glib::ParamSpecBoolean::builder("force-aspect-ratio") glib::ParamSpecBoolean::builder("force-aspect-ratio")
.nick("Force Aspect Ratio") .nick("Force Aspect Ratio")
.blurb("When enabled, scaling will respect original aspect ratio") .blurb("When enabled, scaling will respect original aspect ratio")
.default_value(true) .default_value(false)
.build(), .build(),
] ]
}); });