I've got the following compilation error after update the head
revision 12910 :
In lcl/interfaces/gtk2/gtk2widgetset.inc(618,48)
Identifier not found "pango_layout_get_font_description"
Here is the method :
procedure TGtk2WidgetSet.SetWidgetFont(const AWidget: PGtkWidget;
const AFONT: tFont);
var
FontDesc: PPangoFontDescription;
UseFont: PPangoLayout;
begin
if GtkWidgetIsA(AWidget,GTKAPIWidget_GetType) then begin
// the GTKAPIWidget is self drawn, so no use to change the widget
style.
exit;
end;
UseFont := PGdiObject(AFont.Handle)^.GDIFontObject;
FontDesc :=
pango_layout_get_font_description(UseFont); //
<<<<<<<<<<<<<<<<<<<<<<<<<<<
gtk_widget_modify_font(AWidget, FontDesc);
end;
--
Damien Gerard
[EMAIL PROTECTED]
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives