Browse Source

* patch for gtk_file_chooser do_overwrite_confirmation getter and setter (#11246)

git-svn-id: trunk@10869 -
marco 17 years ago
parent
commit
f85d57037c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/gtk2/src/gtk+/gtk/gtkfilechooser.inc

+ 4 - 0
packages/gtk2/src/gtk+/gtk/gtkfilechooser.inc

@@ -116,6 +116,10 @@ function gtk_file_chooser_add_shortcut_folder_uri(chooser:PGtkFileChooser; uri:P
 function gtk_file_chooser_remove_shortcut_folder_uri(chooser:PGtkFileChooser; uri:Pchar; error:PPGError):gboolean;cdecl;external gtklib name 'gtk_file_chooser_remove_shortcut_folder_uri';
 function gtk_file_chooser_remove_shortcut_folder_uri(chooser:PGtkFileChooser; uri:Pchar; error:PPGError):gboolean;cdecl;external gtklib name 'gtk_file_chooser_remove_shortcut_folder_uri';
 function gtk_file_chooser_list_shortcut_folder_uris(chooser:PGtkFileChooser):PGSList;cdecl;external gtklib name 'gtk_file_chooser_list_shortcut_folder_uris';
 function gtk_file_chooser_list_shortcut_folder_uris(chooser:PGtkFileChooser):PGSList;cdecl;external gtklib name 'gtk_file_chooser_list_shortcut_folder_uris';
 
 
+{$ifdef HasGTK2_8}
+function gtk_file_chooser_get_do_overwrite_confirmation(chooser:PGtkFileChooser): gboolean;  cdecl; external gtklib name 'gtk_file_chooser_get_do_overwrite_confirmation';
+procedure gtk_file_chooser_set_do_overwrite_confirmation(chooser:PGtkFileChooser; do_overwrite_confirmation:gboolean);  cdecl; external gtklib name 'gtk_file_chooser_set_do_overwrite_confirmation';
+{$endif}
 
 
 {$endif} {read_interface_rest}
 {$endif} {read_interface_rest}