summaryrefslogtreecommitdiffstats
path: root/x11-themes/gnome-themes/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-04-06 04:54:18 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-04-06 04:54:18 +0800
commit638b97f5a5d741cee963b662efa43f26ddf9d04c (patch)
treec4dfb23a4708ce0260562560cd232bdef6bb6711 /x11-themes/gnome-themes/files
parent9062210343a87551bd420e59ca2d4e52f1365fe3 (diff)
downloadmarcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar
marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.gz
marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.bz2
marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.lz
marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.xz
marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.zst
marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.zip
Garbage collection GNOME 2.5. Next stop, GNOME 2.7.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2260 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes/gnome-themes/files')
-rw-r--r--x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-gradient.c31
-rw-r--r--x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c14
-rw-r--r--x11-themes/gnome-themes/files/patch-metacity-themes_Makefile.in11
3 files changed, 0 insertions, 56 deletions
diff --git a/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-gradient.c b/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-gradient.c
deleted file mode 100644
index 9111a7ac5..000000000
--- a/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-gradient.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- gtk-themes/Crux/src/crux-gradient.c.orig Thu Oct 16 20:57:05 2003
-+++ gtk-themes/Crux/src/crux-gradient.c Thu Oct 16 21:01:18 2003
-@@ -207,7 +207,7 @@
- const eazel_engine_gradient *gradient)
- {
- int rgb_size = clip_rect->height;
-- guchar *rgb = alloca (rgb_size * 3), *ptr;
-+ guchar *rgb = g_malloc (rgb_size * 3), *ptr;
-
- eazel_engine_fill_gradient_rgb_buffer (gradient, full_rect->height, rgb,
- clip_rect->y - full_rect->y,
-@@ -239,7 +239,7 @@
- }
- else
- {
-- guchar *xrgb = alloca (clip_rect->width * clip_rect->height * 3);
-+ guchar *xrgb = g_malloc (clip_rect->width * clip_rect->height * 3);
- int x, y;
- guchar *ptr_in = rgb, *ptr_out = xrgb;
- for (y = 0; y < clip_rect->height; y++)
-@@ -257,7 +257,10 @@
- gdk_draw_rgb_image (drawable, gc, clip_rect->x, clip_rect->y,
- clip_rect->width, clip_rect->height,
- dither_mode, xrgb, clip_rect->width * 3);
-+ g_free (xrgb);
- }
-+
-+ g_free (rgb);
- }
-
- static void
diff --git a/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c b/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c
deleted file mode 100644
index 7813ce91f..000000000
--- a/x11-themes/gnome-themes/files/patch-gtk-themes_Crux_src_crux-pixmaps.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- gtk-themes/Crux/src/crux-pixmaps.c.orig Thu Oct 16 21:01:59 2003
-+++ gtk-themes/Crux/src/crux-pixmaps.c Thu Oct 16 21:02:17 2003
-@@ -340,9 +340,10 @@
- {
- GdkPixbuf *pixbuf;
- size_t len = strlen (*path) + strlen (file) + 2;
-- char *buf = alloca (len);
-+ char *buf = g_malloc (len);
- sprintf (buf, "%s/%s", *path, file);
- pixbuf = gdk_pixbuf_new_from_file (buf, NULL);
-+ g_free (buf);
- if (pixbuf != 0)
- return pixbuf;
- path++;
diff --git a/x11-themes/gnome-themes/files/patch-metacity-themes_Makefile.in b/x11-themes/gnome-themes/files/patch-metacity-themes_Makefile.in
deleted file mode 100644
index 090c18883..000000000
--- a/x11-themes/gnome-themes/files/patch-metacity-themes_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- metacity-themes/Makefile.in.orig Tue Dec 9 22:11:42 2003
-+++ metacity-themes/Makefile.in Tue Dec 9 22:12:00 2003
-@@ -122,7 +122,7 @@
- THEMES = Mist Sandwish Smokey
-
-
--THEME_DIR = $(datadir)/themes
-+THEME_DIR = $(datadir)/gnome/themes
- THEME_SUBDIR = metacity-1
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../config.h