summaryrefslogtreecommitdiff
path: root/libdevkit-power/egg-obj-list.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-11-08 16:13:00 +0000
committerRichard Hughes <richard@hughsie.com>2008-11-08 16:13:00 +0000
commit7382bcc1686bce63ad3b7a5c3770ebc6c90802fe (patch)
treece87752f68a41d09b3900f3027a78fe9a016a416 /libdevkit-power/egg-obj-list.c
parentba8eecf2b454f266561970209eeda9b71fdc33f7 (diff)
trivial: add a resolution parameter to GetHistory rather than just guessing a number on the server
Diffstat (limited to 'libdevkit-power/egg-obj-list.c')
-rw-r--r--libdevkit-power/egg-obj-list.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libdevkit-power/egg-obj-list.c b/libdevkit-power/egg-obj-list.c
index d0a255e..6e3fd25 100644
--- a/libdevkit-power/egg-obj-list.c
+++ b/libdevkit-power/egg-obj-list.c
@@ -144,7 +144,6 @@ egg_obj_list_clear (EggObjList *list)
array = list->priv->array;
func_free = list->priv->func_free;
-
if (func_free != NULL)
g_ptr_array_foreach (array, (GFunc) func_free, NULL);
g_ptr_array_remove_range (array, 0, array->len);