summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-11-25 15:04:45 +0100
committerBenjamin Otte <otte@redhat.com>2010-12-02 20:21:05 +0100
commit585c4895776f2a51b14eff6f28b9a57e12d2ba29 (patch)
tree6d12052e09fe492599eb5c00cc91db8136300602 /gdk
parent4d1604c77de2b97c7759574fb3ca9a400be32403 (diff)
downloadgtk+-585c4895776f2a51b14eff6f28b9a57e12d2ba29.tar.gz
gdk: Remove GDK_PANGO_UNITS_OVERFLOWS() from internal headers
It's unused.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkprivate.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdk/gdkprivate.h b/gdk/gdkprivate.h
index 8e70c98e0a..147d2d13ac 100644
--- a/gdk/gdkprivate.h
+++ b/gdk/gdkprivate.h
@@ -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__ */