summaryrefslogtreecommitdiff
blob: abc1a3690d8597c395fd98bb2068a0ae5a8ed290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- graphics.c.orig	2005-01-19 10:54:02.491245784 +0100
+++ graphics.c	2005-01-19 10:54:33.835480736 +0100
@@ -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, 
--- panel.c.orig	2005-01-19 10:54:10.086091192 +0100
+++ panel.c	2005-01-19 10:54:51.545788360 +0100
@@ -305,7 +305,7 @@
 	
       image = RCreateImageFromDrawable(ctx, panel, 0);
       RConvertImage(ctx, image, &shrinkPixmap);
-      RDestroyImage(image);
+      RReleaseImage(image);
 	
       XSetWindowBackgroundPixmap(dpy, panel, shrinkPixmap);
       XUnmapSubwindows(dpy, panel);