When looking up a font XID, add the XID_FONT_BIT. (#348001)

2006-07-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkx.h (gdk_font_lookup_for_display): When looking
	up a font XID, add the XID_FONT_BIT.  (#348001)
This commit is contained in:
Matthias Clasen 2006-07-19 13:36:52 +00:00 committed by Matthias Clasen
parent 366f08814a
commit b1d1801875
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-07-19 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkx.h (gdk_font_lookup_for_display): When looking
up a font XID, add the XID_FONT_BIT. (#348001)
2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c ([GdkQuartzView -drawRect:]):

View File

@ -1,3 +1,8 @@
2006-07-19 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkx.h (gdk_font_lookup_for_display): When looking
up a font XID, add the XID_FONT_BIT. (#348001)
2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.c ([GdkQuartzView -drawRect:]):

View File

@ -187,7 +187,7 @@ void gdk_x11_register_standard_event_type (GdkDisplay *display,
gpointer gdk_x11_font_get_xfont (GdkFont *font);
#define GDK_FONT_XFONT(font) (gdk_x11_font_get_xfont (font))
#define gdk_font_lookup_for_display(display, xid) ((GdkFont*) gdk_xid_table_lookup_for_display (display, xid))
#define gdk_font_lookup_for_display(display, xid) ((GdkFont*) gdk_xid_table_lookup_for_display (display, ((xid)|XID_FONT_BIT)))
#endif /* !GDK_DISABLE_DEPRECATED || GDK_COMPILATION */