[librsvg] Fix a compiler warning with GIO < 2.24
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Fix a compiler warning with GIO < 2.24
- Date: Sun, 27 Jun 2010 17:42:45 +0000 (UTC)
commit 2244164922e504b12a010ffdc19da9025c26401c
Author: Christian Persch <chpe gnome org>
Date: Sun Jun 27 19:22:33 2010 +0200
Fix a compiler warning with GIO < 2.24
rsvg-base.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rsvg-base.c b/rsvg-base.c
index b8e7cc5..b73d150 100644
--- a/rsvg-base.c
+++ b/rsvg-base.c
@@ -1752,7 +1752,6 @@ gboolean
rsvg_handle_close (RsvgHandle * handle, GError ** error)
{
RsvgHandlePrivate *priv;
- gboolean ret;
rsvg_return_val_if_fail (handle, FALSE, error);
priv = handle->priv;
@@ -1764,6 +1763,7 @@ rsvg_handle_close (RsvgHandle * handle, GError ** error)
if (priv->data_input_stream) {
GConverter *converter;
GInputStream *stream;
+ gboolean ret;
converter = G_CONVERTER (g_zlib_decompressor_new (G_ZLIB_COMPRESSOR_FORMAT_GZIP));
stream = g_converter_input_stream_new (priv->data_input_stream, converter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]