GTK2 Compilation Problem lazarus / 1-Linux ---------------------------------------------------------------------- osvaldo-tcf · 2007-11-16 19:28 Code: [Select] 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; Quote /home/opt/pascal/lazarus/lcl/interfaces/gtk/gtkwinapi.inc(5321,4) Warning: User defined: If there are tons of new keyboard errors this is probably the cause /home/opt/pascal/lazarus/lcl/interfaces/gtk/gtkwinapi.inc(6597,26) Warning: Mixing signed expressions and longwords gives a 64bit result /home/opt/pascal/lazarus/lcl/interfaces/gtk/gtkwinapi.inc(6601,24) Warning: Mixing signed expressions and longwords gives a 64bit result /home/opt/pascal/lazarus/lcl/interfaces/gtk2/gtk2wscustomlistview.inc( 895,82) Note: User defined: TODO add alpha mask /home/opt/pascal/lazarus/lcl/interfaces/gtk2/gtk2widgetset.inc(618,48) Error: Identifier not found "pango_layout_get_font_description" /home/opt/pascal/lazarus/lcl/interfaces/gtk2/gtk2int.pas(663) Fatal: There were 1 errors compiling module, stopping ---------------------------------------------------------------------- Almindor · 2007-11-17 11:53 Fixed in meantime