[Pkg-gtkpod-devel] Bug#689380: fix

Wendy Elmer webe3vt at aim.com
Wed Oct 3 00:09:43 UTC 2012


The problem is here:

clarity_cover.c: In function 'clarity_cover_set_album_item':

clarity_cover.c:244:9: error: format not a string literal and no format
arguments [-Werror=format-security]

I fixed the problem like this:

gtkpod-2.1.2/plugins/clarity/clarity_cover.c

    // Set cover artwork
    gtk_clutter_texture_set_from_pixbuf (GTK_CLUTTER_TEXTURE(priv->texture), item->albumart, &error);
    if (error) {
+       g_warning("%s", error->message);
-       g_warning(error->message);
        g_error_free(error);
        return;
    }

After the fix gtkpod compiled.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gtkpod-devel/attachments/20121002/b9c1f834/attachment.html>


More information about the Pkg-gtkpod-devel mailing list