[gom] sorting: Fix compile-time warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gom] sorting: Fix compile-time warning
- Date: Mon, 24 Aug 2015 22:11:57 +0000 (UTC)
commit 458a8ecdffe5f6c36ab08d0dde89f3d06a32b580
Author: Bastien Nocera <hadess hadess net>
Date: Mon Aug 24 22:32:16 2015 +0200
sorting: Fix compile-time warning
gom/gom-sorting.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gom/gom-sorting.c b/gom/gom-sorting.c
index ee5ef2a..879b338 100644
--- a/gom/gom-sorting.c
+++ b/gom/gom-sorting.c
@@ -49,7 +49,7 @@ gom_sorting_finalize (GObject *object)
GomSortingPrivate *priv = GOM_SORTING(object)->priv;
if (priv->order_by_terms != NULL)
- g_queue_free_full(priv->order_by_terms, gom_order_by_term_free);
+ g_queue_free_full(priv->order_by_terms, (GDestroyNotify) gom_order_by_term_free);
G_OBJECT_CLASS(gom_sorting_parent_class)->finalize(object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]