mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-11 17:04:15 +01:00
WINGs: comment out wtext unused NOTIFY macro
The compiler is reporting the warning below wtext.c:171: warning: macro "NOTIFY" is not used [-Wunused-macros] That macro is only used once within that C file, code which is commented out already.
This commit is contained in:
committed by
Carlos R. Mafra
parent
dd6fe27858
commit
3b1c00ad06
@@ -166,12 +166,15 @@ typedef struct W_Text {
|
||||
WMArray *xdndDestinationTypes;
|
||||
} Text;
|
||||
|
||||
/* not used */
|
||||
#if 0
|
||||
#define NOTIFY(T,C,N,A) {\
|
||||
WMNotification *notif = WMCreateNotification(N,T,A);\
|
||||
if ((T)->delegate && (T)->delegate->C)\
|
||||
(*(T)->delegate->C)((T)->delegate,notif);\
|
||||
WMPostNotification(notif);\
|
||||
WMReleaseNotification(notif);}
|
||||
#endif
|
||||
|
||||
#define TYPETEXT 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user