1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-21 09:15:46 +01:00

WINGs: Added a few missing 'static' attributes to functions

Some functions are not meant to be visible by user; the use of the
attribute avoid risk of name clash with user functions at link
time.
This commit is contained in:
Christophe CURIS
2013-05-12 00:24:51 +02:00
committed by Carlos R. Mafra
parent 140249ad0c
commit 4b89104aca
5 changed files with 12 additions and 12 deletions

View File

@@ -108,7 +108,7 @@ static WMArray *getTypesFromThreeTypes(WMScreen * scr, XClientMessageEvent * eve
return typeList;
}
void storeRequiredTypeList(WMDraggingInfo * info)
static void storeRequiredTypeList(WMDraggingInfo * info)
{
WMView *destView = XDND_DEST_VIEW(info);
WMScreen *scr = W_VIEW_SCREEN(destView);
@@ -140,7 +140,7 @@ void storeRequiredTypeList(WMDraggingInfo * info)
XDND_REQUIRED_TYPES(info) = requiredTypes;
}
char *getNextRequestedDataType(WMDraggingInfo * info)
static char *getNextRequestedDataType(WMDraggingInfo * info)
{
/* get the type of the first data not yet retrieved from selection */
int nextTypeIndex;
@@ -155,7 +155,7 @@ char *getNextRequestedDataType(WMDraggingInfo * info)
/* ----- Action list ----- */
WMArray *sourceOperationList(WMScreen * scr, Window sourceWin)
static WMArray *sourceOperationList(WMScreen * scr, Window sourceWin)
{
Atom dataType, *actionList;
int i, size;
@@ -417,7 +417,7 @@ storeDropData(WMView * destView, Atom selection, Atom target, Time timestamp, vo
}
}
Bool requestDropDataInSelection(WMView * destView, const char *type)
static Bool requestDropDataInSelection(WMView * destView, const char *type)
{
WMScreen *scr = W_VIEW_SCREEN(destView);
@@ -436,7 +436,7 @@ Bool requestDropDataInSelection(WMView * destView, const char *type)
return False;
}
Bool requestDropData(WMDraggingInfo * info)
static Bool requestDropData(WMDraggingInfo * info)
{
WMView *destView = XDND_DEST_VIEW(info);
char *nextType = getNextRequestedDataType(info);
@@ -832,7 +832,7 @@ static void realizedObserver(void *self, WMNotification * notif)
WMRemoveNotificationObserver(self);
}
void W_SetXdndAwareProperty(WMScreen * scr, WMView * view, Atom * types, int typeCount)
static void W_SetXdndAwareProperty(WMScreen * scr, WMView * view, Atom * types, int typeCount)
{
WMView *toplevel = W_TopLevelOfView(view);