mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 22:49:37 +02:00
* use Available_ComponentName_2_x so specific version parts can be checked
git-svn-id: trunk@11527 -
This commit is contained in:
parent
4e20c448f8
commit
e308297fce
@ -29,7 +29,7 @@ begin
|
||||
GTK_SCALE_BUTTON_GET_CLASS:=G_TYPE_INSTANCE_GET_CLASS(obj,GTK_TYPE_SCALE_BUTTON);
|
||||
end;
|
||||
|
||||
function Available_GtkScaleButton: Boolean;
|
||||
function Available_GtkScaleButton_2_12: Boolean;
|
||||
begin
|
||||
Result := Assigned(gtk_scale_button_new);
|
||||
end;
|
||||
|
@ -19,5 +19,5 @@ var
|
||||
function GTK_IS_SCALE_BUTTON_CLASS(klass : pointer) : boolean; inline;
|
||||
function GTK_SCALE_BUTTON_GET_CLASS(obj : pointer) : PGTypeClass; inline;
|
||||
|
||||
function Available_GtkScaleButton: Boolean;
|
||||
function Available_GtkScaleButton_2_12: Boolean;
|
||||
|
||||
|
@ -88,8 +88,14 @@ begin
|
||||
GTK_STATUS_ICON_GET_CLASS := G_TYPE_INSTANCE_GET_CLASS (obj, GTK_TYPE_STATUS_ICON);
|
||||
end;
|
||||
|
||||
function Available_GtkStatusIcon: Boolean;
|
||||
function Available_GtkStatusIcon_2_10: Boolean;
|
||||
begin
|
||||
Result := Assigned(gtk_status_icon_new);
|
||||
end;
|
||||
|
||||
function Available_GtkStatusIcon_2_12: Boolean;
|
||||
begin
|
||||
Result := Assigned(gtk_status_icon_get_screen);
|
||||
end;
|
||||
|
||||
|
||||
|
@ -63,5 +63,6 @@ var
|
||||
function GTK_IS_STATUS_ICON_CLASS(klass: Pointer): boolean; inline;
|
||||
function GTK_STATUS_ICON_GET_CLASS(obj: Pointer): PGTypeClass; inline;
|
||||
|
||||
function Available_GtkStatusIcon: Boolean;
|
||||
function Available_GtkStatusIcon_2_10: Boolean;
|
||||
function Available_GtkStatusIcon_2_12: Boolean;
|
||||
|
||||
|
@ -18,7 +18,7 @@ begin
|
||||
pointer(gtk_text_iter_backward_visible_lines):=GetProcAddress(gtkhandle,'gtk_text_iter_backward_visible_lines');
|
||||
end;
|
||||
|
||||
function Available_GtkTextIter: Boolean;
|
||||
function Available_GtkTextIter_2_8: Boolean;
|
||||
begin
|
||||
Result := Assigned(gtk_text_iter_forward_visible_line);
|
||||
end;
|
||||
|
@ -5,4 +5,4 @@ var
|
||||
gtk_text_iter_forward_visible_lines: function(iter: PGtkTextIter; count: gint): gboolean;cdecl;
|
||||
gtk_text_iter_backward_visible_lines: function(iter: PGtkTextIter; count: gint): gboolean;cdecl;
|
||||
|
||||
function Available_GtkTextIter: Boolean;
|
||||
function Available_GtkTextIter_2_8: Boolean;
|
||||
|
@ -12,7 +12,7 @@ begin
|
||||
pointer(gtk_text_mark_new):=GetProcAddress(gtkhandle,'gtk_text_mark_new');
|
||||
end;
|
||||
|
||||
function Available_GtkTextMark: Boolean;
|
||||
function Available_GtkTextMark_2_12: Boolean;
|
||||
begin
|
||||
Result := Assigned(gtk_text_mark_new);
|
||||
end;
|
||||
|
@ -2,4 +2,4 @@
|
||||
var
|
||||
gtk_text_mark_new: function(name: PGChar; left_gravity: Gboolean):PGtkTextMark;cdecl;
|
||||
|
||||
function Available_GtkTextMark: Boolean;
|
||||
function Available_GtkTextMark_2_12: Boolean;
|
||||
|
@ -43,7 +43,7 @@ begin
|
||||
GTK_VOLUME_BUTTON_GET_CLASS:=G_TYPE_INSTANCE_GET_CLASS(obj,GTK_TYPE_VOLUME_BUTTON);
|
||||
end;
|
||||
|
||||
function Available_GtkVolumeButton: Boolean;
|
||||
function Available_GtkVolumeButton_2_12: Boolean;
|
||||
begin
|
||||
Result := Assigned(gtk_volume_button_new);
|
||||
end;
|
||||
|
@ -14,5 +14,5 @@ var
|
||||
function GTK_IS_VOLUME_BUTTON_CLASS(klass : pointer) : boolean; inline;
|
||||
function GTK_VOLUME_BUTTON_GET_CLASS(obj : pointer) : PGTypeClass; inline;
|
||||
|
||||
function Available_GtkVolumeButton: Boolean;
|
||||
function Available_GtkVolumeButton_2_12: Boolean;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user