[pygtk/gtk-3.0: 54/55] Deprecated: Remove gtk_object_{set, get, remove} functions



commit 4796123bd2c0ca34f0f4232501cbf924cc395be8
Author: John Stowers <john stowers gmail com>
Date:   Tue Jul 13 18:42:40 2010 +1200

    Deprecated: Remove gtk_object_{set,get,remove} functions

 gtk/gtk-base.defs |  136 -----------------------------------------------------
 gtk/gtk.override  |   15 ------
 2 files changed, 0 insertions(+), 151 deletions(-)
---
diff --git a/gtk/gtk-base.defs b/gtk/gtk-base.defs
index 4c763ee..7633aa5 100644
--- a/gtk/gtk-base.defs
+++ b/gtk/gtk-base.defs
@@ -10618,12 +10618,6 @@
   (varargs #t)
 )
 
-(define-method sink
-  (of-object "GtkObject")
-  (c-name "gtk_object_sink")
-  (return-type "none")
-)
-
 (define-method destroy
   (of-object "GtkObject")
   (c-name "gtk_object_destroy")
@@ -10683,136 +10677,6 @@
   )
 )
 
-(define-method set_data
-  (of-object "GtkObject")
-  (c-name "gtk_object_set_data")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "key")
-    '("gpointer" "data")
-  )
-)
-
-(define-method set_data_full
-  (of-object "GtkObject")
-  (c-name "gtk_object_set_data_full")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "key")
-    '("gpointer" "data")
-    '("GtkDestroyNotify" "destroy")
-  )
-)
-
-(define-method remove_data
-  (of-object "GtkObject")
-  (c-name "gtk_object_remove_data")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "key")
-  )
-)
-
-(define-method get_data
-  (of-object "GtkObject")
-  (c-name "gtk_object_get_data")
-  (return-type "gpointer")
-  (parameters
-    '("const-gchar*" "key")
-  )
-)
-
-(define-method remove_no_notify
-  (of-object "GtkObject")
-  (c-name "gtk_object_remove_no_notify")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "key")
-  )
-)
-(define-method set_user_data
-  (of-object "GtkObject")
-  (c-name "gtk_object_set_user_data")
-  (return-type "none")
-  (parameters
-    '("gpointer" "data")
-  )
-)
-
-(define-method get_user_data
-  (of-object "GtkObject")
-  (c-name "gtk_object_get_user_data")
-  (return-type "gpointer")
-)
-
-(define-method set_data_by_id
-  (of-object "GtkObject")
-  (c-name "gtk_object_set_data_by_id")
-  (return-type "none")
-  (parameters
-    '("GQuark" "data_id")
-    '("gpointer" "data")
-  )
-)
-
-(define-method set_data_by_id_full
-  (of-object "GtkObject")
-  (c-name "gtk_object_set_data_by_id_full")
-  (return-type "none")
-  (parameters
-    '("GQuark" "data_id")
-    '("gpointer" "data")
-    '("GtkDestroyNotify" "destroy")
-  )
-)
-
-(define-method get_data_by_id
-  (of-object "GtkObject")
-  (c-name "gtk_object_get_data_by_id")
-  (return-type "gpointer")
-  (parameters
-    '("GQuark" "data_id")
-  )
-)
-
-(define-method remove_data_by_id
-  (of-object "GtkObject")
-  (c-name "gtk_object_remove_data_by_id")
-  (return-type "none")
-  (parameters
-    '("GQuark" "data_id")
-  )
-)
-
-(define-method remove_no_notify_by_id
-  (of-object "GtkObject")
-  (c-name "gtk_object_remove_no_notify_by_id")
-  (return-type "none")
-  (parameters
-    '("GQuark" "key_id")
-  )
-)
-
-(define-method get
-  (of-object "GtkObject")
-  (c-name "gtk_object_get")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "first_property_name")
-  )
-  (varargs #t)
-)
-
-(define-method set
-  (of-object "GtkObject")
-  (c-name "gtk_object_set")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "first_property_name")
-  )
-  (varargs #t)
-)
-
 (define-function object_add_arg_type
   (c-name "gtk_object_add_arg_type")
   (return-type "none")
diff --git a/gtk/gtk.override b/gtk/gtk.override
index e2a7e0e..ed8bcf5 100644
--- a/gtk/gtk.override
+++ b/gtk/gtk.override
@@ -272,25 +272,10 @@ ignore
   gtk_object_arg_get_info
   gtk_object_args_collect 
   gtk_object_arg_set
-  gtk_object_get
-  gtk_object_get_data
-  gtk_object_get_data_by_id
-  gtk_object_get_user_data
-  gtk_object_getv
   gtk_object_new 
   gtk_object_newv 
   gtk_object_query_args
   gtk_object_ref
-  gtk_object_remove_data_by_id
-  gtk_object_remove_no_notify_by_id
-  gtk_object_set
-  gtk_object_set_data
-  gtk_object_set_data_by_id
-  gtk_object_set_data_by_id_full
-  gtk_object_set_data_full
-  gtk_object_set_user_data
-  gtk_object_setv
-  gtk_object_sink
   gtk_object_unref
   gtk_object_weakref
   gtk_object_weakunref



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