summaryrefslogtreecommitdiffstats
path: root/meta/packages/gtk+/gtk+-2.6.4-1.osso7/io-gif.c.diff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-10-17 11:04:43 +0000
committerRichard Purdie <richard@openedhand.com>2006-10-17 11:04:43 +0000
commit09f13534bdffe20734cb9d24171e7d04334ad24c (patch)
tree75d62cf9a1d5cfcd2a72602ec68dc90c61041699 /meta/packages/gtk+/gtk+-2.6.4-1.osso7/io-gif.c.diff
parentb6959cf8d390ded754f9a4ab5ce746313663a510 (diff)
downloadpoky-09f13534bdffe20734cb9d24171e7d04334ad24c.tar.gz
gtk+: remove outdated maemo version
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@804 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.6.4-1.osso7/io-gif.c.diff')
-rw-r--r--meta/packages/gtk+/gtk+-2.6.4-1.osso7/io-gif.c.diff37
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/packages/gtk+/gtk+-2.6.4-1.osso7/io-gif.c.diff b/meta/packages/gtk+/gtk+-2.6.4-1.osso7/io-gif.c.diff
deleted file mode 100644
index a42d0e4ac2..0000000000
--- a/meta/packages/gtk+/gtk+-2.6.4-1.osso7/io-gif.c.diff
+++ /dev/null
@@ -1,37 +0,0 @@
1--- gtk+-2.6.4/gdk-pixbuf/io-gif.c 2004-11-12 07:34:31.000000000 +0200
2+++ gtk+-2.6.4/gdk-pixbuf/io-gif.c 2005-04-06 16:19:35.597126776 +0300
3@@ -920,6 +920,34 @@
4
5 gdk_pixbuf_gif_anim_frame_composite (context->animation, prev_frame);
6
7+ /* Composite failed */
8+ if (prev_frame->composited == NULL) {
9+ GdkPixbufFrame *frame = NULL;
10+ link = g_list_first (context->animation->frames);
11+ while (link != NULL) {
12+ frame = (GdkPixbufFrame *)link->data;
13+ if (frame != NULL) {
14+ if (frame->pixbuf != NULL)
15+ g_object_unref (frame->pixbuf);
16+ if (frame->composited != NULL)
17+ g_object_unref (frame->composited);
18+ if (frame->revert != NULL)
19+ g_object_unref (frame->revert);
20+ g_free (frame);
21+ }
22+ link = link->next;
23+ }
24+
25+ g_list_free (context->animation->frames);
26+ context->animation->frames = NULL;
27+
28+ g_set_error (context->error,
29+ GDK_PIXBUF_ERROR,
30+ GDK_PIXBUF_ERROR_INSUFFICIENT_MEMORY,
31+ _("Not enough memory to composite a frame in GIF file"));
32+ return -2;
33+ }
34+
35 x = context->frame->x_offset;
36 y = context->frame->y_offset;
37 w = gdk_pixbuf_get_width (context->frame->pixbuf);