~ubuntu-branches/debian/squeeze/librsvg/squeeze

« back to all changes in this revision

Viewing changes to rsvg-base-file-util.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-05-01 14:23:09 UTC
  • mfrom: (1.1.22 upstream) (25.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100501142309-f0otyldu6gyratt9
Tags: 2.26.3-1
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* vim: set sw=4 sts=4: -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
 
1
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
2
/* vim: set sw=4 sts=4 ts=4 expandtab: */
2
3
/*
3
4
   rsvg-file-util.c: SAX-based renderer for SVG files into a GdkPixbuf.
4
5
 
62
63
 
63
64
    if (handle) {
64
65
        if (!rsvg_handle_fill_with_data (handle, data, data_len, error)) {
65
 
            g_object_unref (G_OBJECT (handle));
 
66
            g_object_unref (handle);
66
67
            handle = NULL;
67
68
        }
68
69
    }
97
98
        if (handle) {
98
99
            rsvg_handle_set_base_uri (handle, base_uri);
99
100
            if (!rsvg_handle_fill_with_data (handle, f->data, f->len, error)) {
100
 
                g_object_unref (G_OBJECT (handle));
 
101
                g_object_unref (handle);
101
102
                handle = NULL;
102
103
            }
103
104
        }