summaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-01-04 16:39:34 +0100
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2011-01-04 16:39:34 +0100
commit433ebd9a996dc8f86ab20690daa2eb6f54521504 (patch)
treeb3e74fc207792d892ba7599d000880c6e4b1ddf2 /bindings
parent2b90dcd5034390a79d6d37b3d2b33bde0c73ab83 (diff)
downloadlasso-433ebd9a996dc8f86ab20690daa2eb6f54521504.tar.gz
lasso-433ebd9a996dc8f86ab20690daa2eb6f54521504.tar.xz
lasso-433ebd9a996dc8f86ab20690daa2eb6f54521504.zip
[ghashtable] add G_GNUC_UNUSED to remove unused static functions warning
Diffstat (limited to 'bindings')
-rw-r--r--bindings/ghashtable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/ghashtable.h b/bindings/ghashtable.h
index ef9133f1..a41a59f2 100644
--- a/bindings/ghashtable.h
+++ b/bindings/ghashtable.h
@@ -34,7 +34,7 @@ static gboolean return_true(G_GNUC_UNUSED gpointer a, G_GNUC_UNUSED gpointer b,
return TRUE;
}
-static void
+G_GNUC_UNUSED static void
g_hash_table_remove_all (GHashTable *hash_table)
{
lasso_return_if_fail(hash_table != NULL);
@@ -46,7 +46,7 @@ g_hash_table_remove_all (GHashTable *hash_table)
* (as this function is useful but new in 2.14) */
-static GList *
+G_GNUC_UNUSED static GList *
g_hash_table_get_keys (GHashTable *hash_table)
{
GHashNode *node;
@@ -63,7 +63,7 @@ g_hash_table_get_keys (GHashTable *hash_table)
return retval;
}
-static GList *
+G_GNUC_UNUSED static GList *
g_hash_table_get_values (GHashTable *hash_table)
{
GHashNode *node;