Remove the right XID from the xid table. (#34327, Sampo Savolainen, Tim
2006-06-04 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right XID from the xid table. (#34327, Sampo Savolainen, Tim Janik)
This commit is contained in:

committed by
Matthias Clasen

parent
959c272bd4
commit
150b52e207
@ -1,3 +1,8 @@
|
|||||||
|
2006-06-04 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right
|
||||||
|
XID from the xid table. (#34327, Sampo Savolainen, Tim Janik)
|
||||||
|
|
||||||
2006-06-04 Behdad Esfahbod <behdad@gnome.org>
|
2006-06-04 Behdad Esfahbod <behdad@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838)
|
* gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2006-06-04 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right
|
||||||
|
XID from the xid table. (#34327, Sampo Savolainen, Tim Janik)
|
||||||
|
|
||||||
2006-06-04 Behdad Esfahbod <behdad@gnome.org>
|
2006-06-04 Behdad Esfahbod <behdad@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838)
|
* gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838)
|
||||||
|
@ -367,7 +367,7 @@ _gdk_font_destroy (GdkFont *font)
|
|||||||
switch (font->type)
|
switch (font->type)
|
||||||
{
|
{
|
||||||
case GDK_FONT_FONT:
|
case GDK_FONT_FONT:
|
||||||
_gdk_xid_table_remove (private->display, ((XFontStruct *) private->xfont)->fid);
|
_gdk_xid_table_remove (private->display, private->xid);
|
||||||
XFreeFont (GDK_DISPLAY_XDISPLAY (private->display),
|
XFreeFont (GDK_DISPLAY_XDISPLAY (private->display),
|
||||||
(XFontStruct *) private->xfont);
|
(XFontStruct *) private->xfont);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user