[pygtk/gtk-3.0: 25/55] Deprecated: Remove GtkFileSelection



commit 9ca754328c350ed919d5f38193675055eaa16c39
Author: John Stowers <john stowers gmail com>
Date:   Sat Jul 10 20:49:46 2010 +1200

    Deprecated: Remove GtkFileSelection

 gtk/gtk-base-types.defs |   27 ---------------
 gtk/gtk-base.defs       |   86 -----------------------------------------------
 2 files changed, 0 insertions(+), 113 deletions(-)
---
diff --git a/gtk/gtk-base-types.defs b/gtk/gtk-base-types.defs
index f96082e..9f3753e 100644
--- a/gtk/gtk-base-types.defs
+++ b/gtk/gtk-base-types.defs
@@ -1695,33 +1695,6 @@
   (gtype-id "GTK_TYPE_FILE_FILTER")
 )
 
-(define-object FileSelection
-  (in-module "Gtk")
-  (parent "GtkDialog")
-  (c-name "GtkFileSelection")
-  (gtype-id "GTK_TYPE_FILE_SELECTION")
-  (fields
-    '("GtkWidget*" "dir_list")
-    '("GtkWidget*" "file_list")
-    '("GtkWidget*" "selection_entry")
-    '("GtkWidget*" "selection_text")
-    '("GtkWidget*" "main_vbox")
-    '("GtkWidget*" "ok_button")
-    '("GtkWidget*" "cancel_button")
-    '("GtkWidget*" "help_button")
-    '("GtkWidget*" "history_pulldown")
-    '("GtkWidget*" "history_menu")
-    '("GtkWidget*" "fileop_dialog")
-    '("GtkWidget*" "fileop_entry")
-    '("gchar*"     "fileop_file")    
-    '("GtkWidget*" "fileop_c_dir")
-    '("GtkWidget*" "fileop_del_file")    
-    '("GtkWidget*" "fileop_ren_file")        
-    '("GtkWidget*" "button_area")        
-    '("GtkWidget*" "action_area")
-  )
-)
-
 (define-object Fixed
   (in-module "Gtk")
   (parent "GtkContainer")
diff --git a/gtk/gtk-base.defs b/gtk/gtk-base.defs
index bccd2fd..ca7f49c 100644
--- a/gtk/gtk-base.defs
+++ b/gtk/gtk-base.defs
@@ -5887,92 +5887,6 @@
   )
 )
 
-
-
-;; From /opt/gtk2/include/gtk-2.0/gtk/gtkfilesel.h
-
-(define-function gtk_file_selection_get_type
-  (c-name "gtk_file_selection_get_type")
-  (return-type "GType")
-)
-
-(define-function gtk_file_selection_new
-  (c-name "gtk_file_selection_new")
-  (is-constructor-of "GtkFileSelection")
-  (return-type "GtkWidget*")
-  (properties
-    '("title" (optional))
-  )
-  (deprecated "use gtk.FileChooserDialog")
-)
-
-(define-method set_filename
-  (of-object "GtkFileSelection")
-  (c-name "gtk_file_selection_set_filename")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "filename")
-  )
-  (deprecated "use gtk.FileChooserDialog")
-)
-
-(define-method get_filename
-  (of-object "GtkFileSelection")
-  (c-name "gtk_file_selection_get_filename")
-  (return-type "const-gchar*")
-  (deprecated "use gtk.FileChooserDialog")
-)
-
-(define-method complete
-  (of-object "GtkFileSelection")
-  (c-name "gtk_file_selection_complete")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "pattern")
-  )
-  (deprecated "use gtk.FileChooserDialog")
-)
-
-(define-method show_fileop_buttons
-  (of-object "GtkFileSelection")
-  (c-name "gtk_file_selection_show_fileop_buttons")
-  (return-type "none")
-  (deprecated "use gtk.FileChooserDialog")
-)
-
-(define-method hide_fileop_buttons
-  (of-object "GtkFileSelection")
-  (c-name "gtk_file_selection_hide_fileop_buttons")
-  (return-type "none")
-  (deprecated "use gtk.FileChooserDialog")
-)
-
-(define-method get_selections
-  (of-object "GtkFileSelection")
-  (c-name "gtk_file_selection_get_selections")
-  (return-type "gchar**")
-  (deprecated "use gtk.FileChooserDialog")
-)
-
-(define-method set_select_multiple
-  (of-object "GtkFileSelection")
-  (c-name "gtk_file_selection_set_select_multiple")
-  (return-type "none")
-  (parameters
-    '("gboolean" "select_multiple")
-  )
-  (deprecated "use gtk.FileChooserDialog")
-)
-
-(define-method get_select_multiple
-  (of-object "GtkFileSelection")
-  (c-name "gtk_file_selection_get_select_multiple")
-  (return-type "gboolean")
-  (deprecated "use gtk.FileChooserDialog")
-)
-
-
-
 ;; From /opt/gtk2/include/gtk-2.0/gtk/gtkfilesystem.h
 
 (define-function file_system_error_quark



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]