[gegl] gegl_operation_list_property_keys: fix to return more than one key
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl_operation_list_property_keys: fix to return more than one key
- Date: Sat, 24 May 2014 17:00:50 +0000 (UTC)
commit 9837fa04e29cc2b59d6ddc1d7de603c5e8901196
Author: Øyvind Kolås <pippin gimp org>
Date: Sat May 24 18:55:19 2014 +0200
gegl_operation_list_property_keys: fix to return more than one key
gegl/operation/gegl-operation-property-keys.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-property-keys.c b/gegl/operation/gegl-operation-property-keys.c
index 63bfe76..bff65f7 100644
--- a/gegl/operation/gegl-operation-property-keys.c
+++ b/gegl/operation/gegl-operation-property-keys.c
@@ -111,7 +111,7 @@ gegl_operation_list_property_keys (const gchar *operation_name,
count = g_hash_table_size (ht);
ret = g_malloc0 (sizeof (gpointer) * (count + 1));
list = g_hash_table_get_keys (ht);
- for (i = 0, l = list; l; l = l->next)
+ for (i = 0, l = list; l; l = l->next, i++)
{
ret[i] = l->data;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]