summaryrefslogtreecommitdiff
path: root/x11-wm/jewel/files/patch-goodies-appbar_icon.cc
blob: ca3424376057baec6c4bb451e242c014019ace73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- goodies/appbar/icon.cc.orig	2007-12-06 21:09:37.000000000 +0100
+++ goodies/appbar/icon.cc	2007-12-06 21:15:12.000000000 +0100
@@ -35,7 +35,7 @@
 
 #include "icon.hh"
 
-char * default_icon_xpm[] = {
+const char * default_icon_xpm[] = {
 "16 16 16 1",
 " 	c None",
 ".	c #323232",
@@ -101,7 +101,7 @@
 	
 	if(! XpmCreatePixmapFromData(dpy, 
 		icon_win,
-		default_icon_xpm,
+		(char **)default_icon_xpm,
 		&icon_pixmap,
 		&icon_pixmap_mask,
 		&icon_pixmap_attr)==XpmSuccess)
@@ -165,7 +165,7 @@
 		
 		if(! XpmCreatePixmapFromData(dpy, 
 			icon_win,
-			default_icon_xpm,
+			(char **)default_icon_xpm,
 			&icon_pixmap,
 			&icon_pixmap_mask,
 			&icon_pixmap_attr)==XpmSuccess)