diff options
author | Richard Hughes <richard@hughsie.com> | 2015-08-03 12:49:04 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-08-03 12:49:04 +0100 |
commit | 2f715d9c7612473e4f7cbea843e3b3079df8bb3e (patch) | |
tree | b41d1f96dd39d0ab96f9941476dacac3a512c5df /libappstream-glib/as-utils-private.h | |
parent | 6ad012a9fa6f02e7da85fb9bb9155920149b8465 (diff) | |
download | appstream-glib-2f715d9c7612473e4f7cbea843e3b3079df8bb3e.tar.gz |
Drop the unused _len arguments on many functions
Using the length of -1 for 'unknown' breaks the GIR-generated bindings.
This breaks API and ABI and the soname has been updated to reflect this.
Diffstat (limited to 'libappstream-glib/as-utils-private.h')
-rw-r--r-- | libappstream-glib/as-utils-private.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libappstream-glib/as-utils-private.h b/libappstream-glib/as-utils-private.h index 4a54f7a..19294be 100644 --- a/libappstream-glib/as-utils-private.h +++ b/libappstream-glib/as-utils-private.h @@ -32,8 +32,6 @@ G_BEGIN_DECLS -gchar *as_strndup (const gchar *text, - gssize text_len); const gchar *as_hash_lookup_by_locale (GHashTable *hash, const gchar *locale); void as_pixbuf_sharpen (GdkPixbuf *src, @@ -43,8 +41,7 @@ void as_pixbuf_blur (GdkPixbuf *src, gint radius, gint iterations); const gchar *as_ptr_array_find_string (GPtrArray *array, - const gchar *value, - gssize value_len); + const gchar *value); G_END_DECLS |