aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_common.c')
-rw-r--r--src/fs/gnunet-fs-gtk_common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/gnunet-fs-gtk_common.c b/src/fs/gnunet-fs-gtk_common.c
index 6dd28887..9dccd9e7 100644
--- a/src/fs/gnunet-fs-gtk_common.c
+++ b/src/fs/gnunet-fs-gtk_common.c
@@ -140,7 +140,7 @@ GNUNET_FS_GTK_add_meta_data_to_list_store (void *cls,
140 */ 140 */
141GdkPixbuf * 141GdkPixbuf *
142GNUNET_FS_GTK_get_thumbnail_from_meta_data ( 142GNUNET_FS_GTK_get_thumbnail_from_meta_data (
143 const struct GNUNET_CONTAINER_MetaData *meta) 143 const struct GNUNET_FS_MetaData *meta)
144{ 144{
145 GdkPixbuf *pixbuf; 145 GdkPixbuf *pixbuf;
146 GdkPixbufLoader *loader; 146 GdkPixbufLoader *loader;
@@ -148,7 +148,7 @@ GNUNET_FS_GTK_get_thumbnail_from_meta_data (
148 unsigned char *thumb; 148 unsigned char *thumb;
149 149
150 thumb = NULL; 150 thumb = NULL;
151 ts = GNUNET_CONTAINER_meta_data_get_thumbnail (meta, &thumb); 151 ts = GNUNET_FS_meta_data_get_thumbnail (meta, &thumb);
152 if (0 == ts) 152 if (0 == ts)
153 return NULL; 153 return NULL;
154 loader = gdk_pixbuf_loader_new (); 154 loader = gdk_pixbuf_loader_new ();
@@ -242,13 +242,13 @@ GNUNET_FS_GTK_mmap_and_scan (const char *filename,
242 */ 242 */
243char * 243char *
244GNUNET_FS_GTK_get_description_from_metadata ( 244GNUNET_FS_GTK_get_description_from_metadata (
245 const struct GNUNET_CONTAINER_MetaData *meta, 245 const struct GNUNET_FS_MetaData *meta,
246 int *is_a_dup) 246 int *is_a_dup)
247{ 247{
248 char *desc; 248 char *desc;
249 char *utf8_desc; 249 char *utf8_desc;
250 250
251 desc = GNUNET_CONTAINER_meta_data_get_first_by_types ( 251 desc = GNUNET_FS_meta_data_get_first_by_types (
252 meta, 252 meta,
253 EXTRACTOR_METATYPE_PACKAGE_NAME, 253 EXTRACTOR_METATYPE_PACKAGE_NAME,
254 EXTRACTOR_METATYPE_TITLE, 254 EXTRACTOR_METATYPE_TITLE,