[gdk-pixbuf] gdk-pixbuf-io: Remove unused flags variable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] gdk-pixbuf-io: Remove unused flags variable
- Date: Wed, 12 Jul 2017 11:22:49 +0000 (UTC)
commit ec1b4b2ef99f1bd4c3fe17a522d89d067d4999e2
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jul 5 23:16:29 2017 +0200
gdk-pixbuf-io: Remove unused flags variable
https://bugzilla.gnome.org/show_bug.cgi?id=784583
gdk-pixbuf/gdk-pixbuf-io.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index 26c2921..61a61a8 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -1656,7 +1656,6 @@ gdk_pixbuf_new_from_stream (GInputStream *stream,
GdkPixbuf *
_gdk_pixbuf_new_from_resource_try_pixdata (const char *resource_path)
{
- guint32 flags;
gsize data_size;
GBytes *bytes;
@@ -1665,7 +1664,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
* compiled-in resource data, whether uncompressed and mmap'ed, or
* compressed, and uncompressed on-the-fly.
*/
- if (g_resources_get_info (resource_path, 0, &data_size, &flags, NULL) &&
+ if (g_resources_get_info (resource_path, 0, &data_size, NULL, NULL) &&
(bytes = g_resources_lookup_data (resource_path, 0, NULL)) != NULL) {
GdkPixbuf*pixbuf = NULL;
const guint8 *stream = g_bytes_get_data (bytes, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]