Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-07

GTK2 version questions

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

theo

Hello

I have a question regarding this bug rep.
http://bugs.freepascal.org/view.php?id=17010

Is there any backward-compatibility limit for Lazarus regarding GTK2 versions?
The functions imported there are from 2.8. Afaics, it was released 13 August 2005.
This should be OK to use, right?

If I'd make a patch for this function, do we always wait for FPC to include a certain GTK2 API or is there a unit somewhere for our own imports?

If not, I guess I'd have to make a patch for
/trunk/packages/gtk2/src/gtk+/gtk/gtktreeview.inc like

{$IFDEF HasGTK2_8}
function gtk_tree_view_get_visible_range(tree_view: PGtkTreeView; out
start_path, endpath: PGtkTreePath): gboolean; cdecl; external gtklib;
function gtk_icon_view_get_visible_range(tree_view: PGtkTreeView; out
start_path, endpath: PGtkTreePath): gboolean; cdecl; external gtklib;
{$ENDIF}

Correct?

Thank you
Theo

Reply by email