summaryrefslogtreecommitdiffstats
path: root/x11-themes
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-25 00:51:14 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-25 00:51:14 +0800
commitddf1efc672c838a8c28e19f4f5c340cf4c14cbe8 (patch)
tree13b0ce8ab6d8d9e30ee4b6bcda5877548eb3161b /x11-themes
parent45eb9701ec0dd1301f3eff199ead215625b707e8 (diff)
downloadmarcuscom-ports-ddf1efc672c838a8c28e19f4f5c340cf4c14cbe8.tar
marcuscom-ports-ddf1efc672c838a8c28e19f4f5c340cf4c14cbe8.tar.gz
marcuscom-ports-ddf1efc672c838a8c28e19f4f5c340cf4c14cbe8.tar.bz2
marcuscom-ports-ddf1efc672c838a8c28e19f4f5c340cf4c14cbe8.tar.lz
marcuscom-ports-ddf1efc672c838a8c28e19f4f5c340cf4c14cbe8.tar.xz
marcuscom-ports-ddf1efc672c838a8c28e19f4f5c340cf4c14cbe8.tar.zst
marcuscom-ports-ddf1efc672c838a8c28e19f4f5c340cf4c14cbe8.zip
Fix build on 4.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4621 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/gtk-engines2/files/patch-engines_crux_src_crux-draw.c20
1 files changed, 20 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);