[grilo] Ensure grl_metadata_list_key_new() is called with a sentinel
- From: Guillaume JÃrÃme Emont <guijemont src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] Ensure grl_metadata_list_key_new() is called with a sentinel
- Date: Fri, 25 Nov 2011 12:25:43 +0000 (UTC)
commit 09d50a2c36f4e54e007cdfe5c0b270de6dc2aadb
Author: Guillaume Emont <guijemont igalia com>
Date: Fri Nov 25 13:22:15 2011 +0100
Ensure grl_metadata_list_key_new() is called with a sentinel
This change triggers a compilation warning (with gcc) if the sentinel is
forgotten.
src/grl-util.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-util.h b/src/grl-util.h
index 3cefae6..70d77f3 100644
--- a/src/grl-util.h
+++ b/src/grl-util.h
@@ -38,7 +38,7 @@ void grl_paging_translate (guint skip,
guint *page_number,
guint *internal_offset);
-GList *grl_list_from_va (gpointer p, ...);
+GList *grl_list_from_va (gpointer p, ...) G_GNUC_NULL_TERMINATED;
GDateTime * grl_date_time_from_iso8601 (const gchar *date);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]