~ubuntu-branches/ubuntu/oneiric/tracker/oneiric

« back to all changes in this revision

Viewing changes to src/tracker-writeback/tracker-writeback-taglib.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2011-08-26 00:26:14 UTC
  • mfrom: (4.3.17 sid)
  • Revision ID: package-import@ubuntu.com-20110826002614-4qjfs9jhh5gs4p13
Tags: 0.10.24-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2010, Adrien Bustany <abustany@gnome.org>
 
2
 * Copyright (C) 2010, Nokia <ivan.frade@nokia.com>
3
3
 *
4
4
 * This library is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU General Public
20
20
 
21
21
#include "config.h"
22
22
 
 
23
#include <stdlib.h>
 
24
 
 
25
#include <taglib/tag_c.h>
 
26
 
23
27
#include <glib-object.h>
24
 
#include <taglib/tag_c.h>
25
 
#include <stdlib.h>
26
28
 
27
29
#include <libtracker-common/tracker-ontologies.h>
28
30
 
45
47
static gboolean             writeback_taglib_update_file_metadata     (TrackerWritebackFile    *wbf,
46
48
                                                                       GFile                   *file,
47
49
                                                                       GPtrArray               *values,
48
 
                                                                       TrackerSparqlConnection *connection);
 
50
                                                                       TrackerSparqlConnection *connection,
 
51
                                                                       GCancellable            *cancellable);
49
52
static const gchar * const *writeback_taglib_content_types            (TrackerWritebackFile    *wbf);
50
53
static gchar*               writeback_taglib_get_artist_name          (TrackerSparqlConnection *connection,
51
54
                                                                       const gchar             *urn);
132
135
writeback_taglib_update_file_metadata (TrackerWritebackFile     *writeback_file,
133
136
                                       GFile                    *file,
134
137
                                       GPtrArray                *values,
135
 
                                       TrackerSparqlConnection  *connection)
 
138
                                       TrackerSparqlConnection  *connection,
 
139
                                       GCancellable            *cancellable)
136
140
{
137
141
        gboolean ret;
138
142
        gchar *path;