Change functions to macros (when compiling without zoom).
SVN revision: 50352
This commit is contained in:
parent
c24755d012
commit
d99aa08fe0
|
@ -476,7 +476,12 @@ int EwinListStackIsRaised(const EWin * ewin);
|
|||
#define EwinListGetAll EwinListStackGet
|
||||
|
||||
/* zoom.c */
|
||||
#if WITH_ZOOM
|
||||
void Zoom(EWin * ewin, int on);
|
||||
void ReZoom(EWin * ewin);
|
||||
#else
|
||||
#define ReZoom(ewin) do {} while(0)
|
||||
#define Zoom(ewin, on) do {} while(0)
|
||||
#endif
|
||||
|
||||
#endif /* _EWIN_H_ */
|
||||
|
|
16
src/zoom.c
16
src/zoom.c
|
@ -265,18 +265,4 @@ Zoom(EWin * ewin, int on)
|
|||
}
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void
|
||||
ReZoom(EWin * ewin)
|
||||
{
|
||||
ewin = NULL;
|
||||
}
|
||||
|
||||
void
|
||||
Zoom(EWin * ewin)
|
||||
{
|
||||
ewin = NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* WITH_ZOOM */
|
||||
|
|
Loading…
Reference in New Issue