diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-22 11:12:19 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-11-22 11:12:19 +0800 |
commit | 05d9b26ce0bc7e2665c8d5a1aade0f3a2ddb0ec6 (patch) | |
tree | ccd25468fd51f334f5d6bb037d1a6f9e02eddc3b /x11-themes/gtk-engines2/files | |
parent | 787be143601548fac798d41cbe9460832d3ff35f (diff) | |
download | marcuscom-ports-05d9b26ce0bc7e2665c8d5a1aade0f3a2ddb0ec6.tar marcuscom-ports-05d9b26ce0bc7e2665c8d5a1aade0f3a2ddb0ec6.tar.gz marcuscom-ports-05d9b26ce0bc7e2665c8d5a1aade0f3a2ddb0ec6.tar.bz2 marcuscom-ports-05d9b26ce0bc7e2665c8d5a1aade0f3a2ddb0ec6.tar.lz marcuscom-ports-05d9b26ce0bc7e2665c8d5a1aade0f3a2ddb0ec6.tar.xz marcuscom-ports-05d9b26ce0bc7e2665c8d5a1aade0f3a2ddb0ec6.tar.zst marcuscom-ports-05d9b26ce0bc7e2665c8d5a1aade0f3a2ddb0ec6.zip |
- Update to 2.7.0
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5179 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes/gtk-engines2/files')
3 files changed, 61 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-draw.c b/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-draw.c new file mode 100644 index 000000000..371abad8e --- /dev/null +++ b/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-draw.c @@ -0,0 +1,20 @@ +--- engines/crux/src/crux-draw.c.orig Wed Aug 24 12:45:47 2005 ++++ engines/crux/src/crux-draw.c Wed Aug 24 12:46:08 2005 +@@ -2323,6 +2323,8 @@ draw_extension (GtkStyle *style, + GdkRectangle rect; + + eazel_theme_data *theme_data; ++ GtkWidget* parent_widget; ++ gint relative_x; + + g_return_if_fail (style != NULL); + g_return_if_fail (window != NULL); +@@ -2334,8 +2336,6 @@ draw_extension (GtkStyle *style, + detail, state_type, shadow_type, x, y, width, height); + + /* Get x relative to parent widget, not window */ +- GtkWidget* parent_widget; +- gint relative_x; + if (widget != NULL) + { + parent_widget = gtk_widget_get_parent(widget); diff --git a/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-gradient.c b/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-gradient.c new file mode 100644 index 000000000..ec5a85340 --- /dev/null +++ b/x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-gradient.c @@ -0,0 +1,31 @@ +--- engines/crux/src/crux-gradient.c.orig Thu Oct 16 20:57:05 2003 ++++ engines/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/gtk-engines2/files/patch-engines_industrial_src_industrial_style.c b/x11-themes/gtk-engines2/files/patch-engines_industrial_src_industrial_style.c new file mode 100644 index 000000000..f545a6a65 --- /dev/null +++ b/x11-themes/gtk-engines2/files/patch-engines_industrial_src_industrial_style.c @@ -0,0 +1,10 @@ +--- engines/industrial/src/industrial_style.c.orig Tue Mar 16 16:55:11 2004 ++++ engines/industrial/src/industrial_style.c Tue Mar 16 16:58:23 2004 +@@ -1801,6 +1801,7 @@ + gint width, + gint height) + { ++ g_return_if_fail (widget != NULL); + #if DEBUG + printf ("draw_shadow: %p %p %s %i %i %i %i\n", widget, window, detail, x, y, + width, height); |