[gtk+/wip/clip: 2/6] css: Make getter function a real getter
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/clip: 2/6] css: Make getter function a real getter
- Date: Wed, 21 May 2014 21:51:26 +0000 (UTC)
commit a404c37d5daf6b6f6b70df9853ff045fb504bad0
Author: Benjamin Otte <otte redhat com>
Date: Mon May 19 15:32:39 2014 +0200
css: Make getter function a real getter
Initialize the passed-in value, don't treat it as an in-out parameter.
gtk/gtkcssshadowsvalue.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssshadowsvalue.c b/gtk/gtkcssshadowsvalue.c
index 6ff7ef0..1107b2f 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];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]