mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
css: Make getter function a real getter
Initialize the passed-in value, don't treat it as an in-out parameter.
This commit is contained in:
parent
486c82ae8f
commit
fa22218973
@ -322,6 +322,8 @@ _gtk_css_shadows_value_get_extents (const GtkCssValue *shadows,
|
||||
|
||||
g_return_if_fail (shadows->class == >K_CSS_VALUE_SHADOWS);
|
||||
|
||||
*border = b;
|
||||
|
||||
for (i = 0; i < shadows->len; i++)
|
||||
{
|
||||
shadow = shadows->values[i];
|
||||
|
Loading…
Reference in New Issue
Block a user