diff options
author | Benjamin Otte <otte@redhat.com> | 2014-05-19 15:32:39 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-05-23 19:29:27 +0200 |
commit | fa2221897323c4cfca868336303c53ddf0e617e7 (patch) | |
tree | 5dd8cbde5de4c70da2d2fd323d6991ba173a7c43 /gtk/gtkcssshadowsvalue.c | |
parent | 486c82ae8ff178154fa1f619b59e7dfcc927470e (diff) | |
download | gtk+-fa2221897323c4cfca868336303c53ddf0e617e7.tar.gz |
css: Make getter function a real getter
Initialize the passed-in value, don't treat it as an in-out parameter.
Diffstat (limited to 'gtk/gtkcssshadowsvalue.c')
-rw-r--r-- | gtk/gtkcssshadowsvalue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcssshadowsvalue.c b/gtk/gtkcssshadowsvalue.c index 6ff7ef0320..1107b2f35b 100644 --- a/gtk/gtkcssshadowsvalue.c +++ b/gtk/gtkcssshadowsvalue.c @@ -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]; |