diff options
author | Jannis Pohlmann <jannis@xfce.org> | 2011-02-13 14:21:42 +0100 |
---|---|---|
committer | Jannis Pohlmann <jannis@xfce.org> | 2011-02-13 14:21:42 +0100 |
commit | ac10985250530ecc04daf91081737a9d3bc763db (patch) | |
tree | acd0cc32308303f79a70e7bcf976b22a67cd421f /tumbler/tumbler-file-info.c | |
parent | 7aad7803fe9875d8b651ab174607a1943ac30fa2 (diff) | |
download | tumbler-ac10985250530ecc04daf91081737a9d3bc763db.tar.gz |
Get rid of the inherently broken GStrv type in function signatures.
This breaks the API but it is not finalized anyway yet.
Diffstat (limited to 'tumbler/tumbler-file-info.c')
-rw-r--r-- | tumbler/tumbler-file-info.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tumbler/tumbler-file-info.c b/tumbler/tumbler-file-info.c index 37d5ae3..ba6db83 100644 --- a/tumbler/tumbler-file-info.c +++ b/tumbler/tumbler-file-info.c @@ -1,6 +1,6 @@ /* vi:set et ai sw=2 sts=2 ts=2: */ /*- - * Copyright (c) 2009 Jannis Pohlmann <jannis@xfce.org> + * Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -388,8 +388,8 @@ tumbler_file_info_array_new_with_flavor (const gchar *const *uris, g_return_val_if_fail (uris != NULL, NULL); - num_uris = g_strv_length ((GStrv) uris); - num_mime_types = g_strv_length ((GStrv) mime_types); + num_uris = g_strv_length ((gchar **)uris); + num_mime_types = g_strv_length ((gchar **)mime_types); if (length != NULL) *length = MIN (num_uris, num_mime_types); |