summaryrefslogtreecommitdiffstats
path: root/games/gnomebreakout/files/patch-src::anim.c
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 01:53:54 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-07-30 01:53:54 +0800
commit42e1d052cd9d135da30fd4ece32cdb15f0c377ca (patch)
tree9d3d88d541265db7cc93238d8a5384c0037debeb /games/gnomebreakout/files/patch-src::anim.c
parentd759a2a0c7e333a2ca526e94875dbeac5feeeef3 (diff)
downloadmarcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.gz
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.zst
marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9256 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnomebreakout/files/patch-src::anim.c')
-rw-r--r--games/gnomebreakout/files/patch-src::anim.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/gnomebreakout/files/patch-src::anim.c b/games/gnomebreakout/files/patch-src::anim.c
new file mode 100644
index 000000000..95f0e9fc4
--- /dev/null
+++ b/games/gnomebreakout/files/patch-src::anim.c
@@ -0,0 +1,18 @@
+--- src/anim.c.orig Mon May 10 19:42:51 2004
++++ src/anim.c Thu May 20 00:26:00 2004
+@@ -47,6 +47,7 @@
+ Animation newanim;
+ char *fullfilename;
+ int i;
++ GError *gerror = NULL;
+
+ /* Find the number of frames */
+ fullfilename = g_strdup_printf("%s.%d.png", filename, 0);
+@@ -64,7 +65,6 @@
+ sizeof(GdkPixbuf *));
+ for(i = 0; i < newanim.num_frames; i++) {
+ fullfilename = g_strdup_printf("%s.%d.png", filename, i);
+- GError *gerror = NULL;
+ newanim.pixmaps[i] = gdk_pixbuf_new_from_file(fullfilename,
+ &gerror);
+ if(!newanim.pixmaps[i]) {