blob: becbbeed63da1f89917fe3c942f5378fc12f2b67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
Index: packages/gtk2/src/gtk+/gtk/gtk2.pas
===================================================================
--- packages/gtk2/src/gtk+/gtk/gtk2.pas (revision 11628)
+++ packages/gtk2/src/gtk+/gtk/gtk2.pas (working copy)
@@ -63,6 +63,8 @@
{$DEFINE HasGTK2_8}
{$ENDIF}
+// {$define HasGTK_FileSystem}
+
interface
uses
Index: packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc
===================================================================
--- packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc (revision 11628)
+++ packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc (working copy)
@@ -115,17 +115,14 @@
{$IFDEF read_interface_rest}
+{$ifdef HasGTK_FileSystem}
{ GError enumeration for GtkFileSystem }
function GTK_FILE_SYSTEM_ERROR : TGQuark;
-
-
function gtk_file_system_error_quark:TGQuark;cdecl;external gtklib name 'gtk_file_system_error_quark';
-
-
{ Boxed-type for gtk_file_folder_get_info() results }
function GTK_TYPE_FILE_INFO : GType;
@@ -244,11 +241,16 @@
{ GtkFileSystem modules support }
function _gtk_file_system_create(file_system_name:Pchar):PGtkFileSystem;cdecl;external gtklib name '_gtk_file_system_create';
+
+{$endif HasGTK_FileSystem}
+
{$endif} {read_interface_rest}
{$ifdef read_implementation}
+{$ifdef HasGTK_FileSystem}
+
function GTK_FILE_SYSTEM_ERROR : TGQuark;
begin
GTK_FILE_SYSTEM_ERROR:=gtk_file_system_error_quark;
@@ -307,6 +309,8 @@
GTK_FILE_FOLDER_GET_IFACE:=G_TYPE_INSTANCE_GET_INTERFACE(inst,GTK_TYPE_FILE_FOLDER);
end;
+{$endif HasGTK_FileSystem}
+
function gtk_file_path_new_dup(str : Pgchar) : PGtkFilePath;
begin
gtk_file_path_new_dup:=PGtkFilePath(g_strdup(str));
|