From: Christophe CURIS <[email protected]>
Signed-off-by: Christophe CURIS <[email protected]>
---
WINGs/dragdestination.c | 2 +-
WINGs/wcolorpanel.c | 2 +-
WINGs/wlist.c | 2 +-
WINGs/wview.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/WINGs/dragdestination.c b/WINGs/dragdestination.c
index 0d9434d..2dba64a 100644
--- a/WINGs/dragdestination.c
+++ b/WINGs/dragdestination.c
@@ -25,7 +25,7 @@
#define XDND_DEST_VIEW_IS_REGISTERED(dragInfo) ((dragInfo->destInfo) != NULL)\
&& ((dragInfo->destInfo->destView->dragDestinationProcs) != NULL)
-static unsigned char XDNDversion = XDND_VERSION;
+static const unsigned char XDNDversion = XDND_VERSION;
static WMHandlerID dndDestinationTimer = NULL;
static void *idleState(WMView * destView, XClientMessageEvent * event,
WMDraggingInfo * info);
diff --git a/WINGs/wcolorpanel.c b/WINGs/wcolorpanel.c
index 30bf895..26ca1fc 100644
--- a/WINGs/wcolorpanel.c
+++ b/WINGs/wcolorpanel.c
@@ -1178,7 +1178,7 @@ static void readConfiguration(W_ColorPanel * panel)
static void readXColors(W_ColorPanel * panel)
{
WMListItem *item;
- RGBColor *entry;
+ const RGBColor *entry;
for (entry = rgbColors; entry->name != NULL; entry++) {
item = WMAddListItem(panel->colorListContentLst, entry->name);
diff --git a/WINGs/wlist.c b/WINGs/wlist.c
index 40d2d25..e91dcde 100644
--- a/WINGs/wlist.c
+++ b/WINGs/wlist.c
@@ -68,7 +68,7 @@ static void didResizeList(W_ViewDelegate * self, WMView *
view);
static void unselectAllListItems(WMList * lPtr, WMListItem * exceptThis);
-W_ViewDelegate _ListViewDelegate = {
+static W_ViewDelegate _ListViewDelegate = {
NULL,
NULL,
didResizeList,
diff --git a/WINGs/wview.c b/WINGs/wview.c
index 5c6ecb3..1138f36 100644
--- a/WINGs/wview.c
+++ b/WINGs/wview.c
@@ -15,7 +15,7 @@ char *WMViewRealizedNotification =
"WMViewRealizedNotification";
VisibilityChangeMask|FocusChangeMask|PropertyChangeMask|\
SubstructureNotifyMask|SubstructureRedirectMask
-static XSetWindowAttributes defAtts = {
+static const XSetWindowAttributes defAtts = {
None, /* background_pixmap */
0, /* background_pixel */
CopyFromParent, /* border_pixmap */
--
1.8.4.rc3
--
To unsubscribe, send mail to [email protected].