aboutsummaryrefslogtreecommitdiffstats
path: root/x11/login.app
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-07 04:48:19 +0800
committerpav <pav@FreeBSD.org>2004-11-07 04:48:19 +0800
commit1e4d0c321bcc7ba9211309bfeabd826eca5fc01e (patch)
treee54ec82252e67f3e8524a4876c35db23fdbb3b5b /x11/login.app
parent4eb27d92953b8da2efaff51caa62d11d29908e60 (diff)
downloadfreebsd-ports-gnome-1e4d0c321bcc7ba9211309bfeabd826eca5fc01e.tar.gz
freebsd-ports-gnome-1e4d0c321bcc7ba9211309bfeabd826eca5fc01e.tar.zst
freebsd-ports-gnome-1e4d0c321bcc7ba9211309bfeabd826eca5fc01e.zip
- Fix build with latest windowmaker
PR: ports/73338 Submitted by: Tobias Roth <ports@fsck.ch>
Diffstat (limited to 'x11/login.app')
-rw-r--r--x11/login.app/files/patch-graphics.c11
-rw-r--r--x11/login.app/files/patch-panel.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/x11/login.app/files/patch-graphics.c b/x11/login.app/files/patch-graphics.c
new file mode 100644
index 000000000000..72448fd739ea
--- /dev/null
+++ b/x11/login.app/files/patch-graphics.c
@@ -0,0 +1,11 @@
+--- graphics.c.orig Sun Oct 31 11:44:10 2004
++++ graphics.c Sun Oct 31 11:44:54 2004
+@@ -73,7 +73,7 @@
+ img = RCloneImage(bottom);
+ RCombineImages(img, top);
+ setWindowImage(win, img);
+- RDestroyImage(img);
++ RReleaseImage(img);
+ }
+
+ void drawText(Window win, XFontStruct* font, int justification, int x, int y,
diff --git a/x11/login.app/files/patch-panel.c b/x11/login.app/files/patch-panel.c
new file mode 100644
index 000000000000..9a3334f58ddc
--- /dev/null
+++ b/x11/login.app/files/patch-panel.c
@@ -0,0 +1,11 @@
+--- panel.c.orig Sun Oct 31 11:44:16 2004
++++ panel.c Sun Oct 31 11:44:41 2004
+@@ -297,7 +297,7 @@
+
+ image = RCreateImageFromDrawable(ctx, panel, 0);
+ RConvertImage(ctx, image, &shrinkPixmap);
+- RDestroyImage(image);
++ RReleaseImage(image);
+
+ XSetWindowBackgroundPixmap(dpy, panel, shrinkPixmap);
+ XUnmapSubwindows(dpy, panel);