forked from AuroraMiddleware/gtk
gdk: Remove GDK_PANGO_UNITS_OVERFLOWS() from internal headers
It's unused.
This commit is contained in:
parent
4d1604c77d
commit
585c489577
@ -42,16 +42,6 @@ void gdk_synthesize_window_state (GdkWindow *window,
|
||||
GdkWindowState unset_flags,
|
||||
GdkWindowState set_flags);
|
||||
|
||||
/* Tests whether a pair of x,y may cause overflows when converted to Pango
|
||||
* units (multiplied by PANGO_SCALE). We don't allow the entire range, leave
|
||||
* some space for additions afterwards, to be safe...
|
||||
*/
|
||||
#define GDK_PANGO_UNITS_OVERFLOWS(x,y) (G_UNLIKELY ( \
|
||||
(y) >= PANGO_PIXELS (G_MAXINT-PANGO_SCALE)/2 || \
|
||||
(x) >= PANGO_PIXELS (G_MAXINT-PANGO_SCALE)/2 || \
|
||||
(y) <=-PANGO_PIXELS (G_MAXINT-PANGO_SCALE)/2 || \
|
||||
(x) <=-PANGO_PIXELS (G_MAXINT-PANGO_SCALE)/2))
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GDK_PRIVATE_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user