View Issue Details

IDProjectCategoryView StatusLast Update
0037989FPCPackagespublic2020-10-26 13:28
ReporterYaroslav Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformlinux x64OSLinux mint 
Product Version3.0.4 
Summary0037989: Broken GTK documentation.
DescriptionProblem with procedure gdk_pixbuf_render_pixmap_and_mask documentation. The documentation says what 2 and 3 parameters should belong to type: PPGdkPixmap and PPGdkBitmap respectively. But FPC issues "Error: Can't assign values to an address. ". So program worked normaly if this 2 arguments have type PGdkPixmap and PGdkBitmap.
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

Michal Gawrycki

2020-10-26 13:28

reporter   ~0126566

For clarification:
https://forum.lazarus.freepascal.org/index.php/topic,51928.0.html
https://developer.gnome.org/gdk2/stable/gdk2-Pixbufs.html#gdk-pixbuf-render-pixmap-and-mask

The pixmap_return and mask_return parameters can be nil - so they shouldn't be var. Probably a new type is needed - PPGdkBitmap.

Issue History

Date Modified Username Field Change
2020-10-26 06:50 Yaroslav New Issue
2020-10-26 13:28 Michal Gawrycki Note Added: 0126566