comparison src/objects.c @ 4757:a23ac8f90a49

Improve warning and error messages from Xft. Default debug-level messages off. Cast away Xft warnings from C compiler.
author Stephen J. Turnbull <stephen@xemacs.org>
date Wed, 18 Nov 2009 15:25:00 +0900
parents 515b91f904c1
children a98ca4640147 e0db3c197671
comparison
equal deleted inserted replaced
4756:5d67242595a8 4757:a23ac8f90a49
495 { 495 {
496 Lisp_Font_Instance *f = XFONT_INSTANCE (font_instance); 496 Lisp_Font_Instance *f = XFONT_INSTANCE (font_instance);
497 497
498 if (NILP (f->device)) 498 if (NILP (f->device))
499 { 499 {
500 maybe_signal_error (Qgui_error, "Couldn't determine font truename", 500 maybe_signal_error (Qgui_error,
501 font_instance, Qfont, errb); 501 "can't determine truename: "
502 "no device for font instance",
503 font_instance, Qfont, errb);
502 return Qnil; 504 return Qnil;
503 } 505 }
504 506
505 return DEVMETH_OR_GIVEN (XDEVICE (f->device), 507 return DEVMETH_OR_GIVEN (XDEVICE (f->device),
506 font_instance_truename, (f, errb), f->name); 508 font_instance_truename, (f, errb), f->name);