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:
Benjamin Otte 2014-05-19 15:32:39 +02:00
parent 486c82ae8f
commit fa22218973

View File

@ -322,6 +322,8 @@ _gtk_css_shadows_value_get_extents (const GtkCssValue *shadows,
g_return_if_fail (shadows->class == &GTK_CSS_VALUE_SHADOWS);
*border = b;
for (i = 0; i < shadows->len; i++)
{
shadow = shadows->values[i];