GNOME Bugzilla – Bug 61942
mark a few GtkObject functions as deprecated
Last modified: 2004-12-22 21:47:04 UTC
There are a few functions in GtkObject that should be marked deprecated standard way i.e. the documentation for these functions should contain a 'Warning' table like, say, the documentation for gtk_old_editable_claim_selection (). Below is the list of such functions: - gtk_object_ref(); - gtk_object_unref(); - gtk_object_weakref(); - gtk_object_weakunref(); - gtk_object_get(); - gtk_object_set(); - gtk_object_set_data; - gtk_object_set_data_full(); - gtk_object_remove_data(); - gtk_object_get_data(); - gtk_object_remove_no_notify (); - gtk_object_set_user_data (); - gtk_object_get_user_data (); - gtk_object_add_arg_type (); - gtk_object_set_data_by_id (); - gtk_object_set_data_by_id_full (); - gtk_object_get_data_by_id (); - gtk_object_remove_data_by_id (); - gtk_object_remove_no_notify_by_id (). THe documentation for these functions contains info that the functions are deprecated. The only thing to add is that 'Warning' table.
The 'warning' table is produced automatically be gtk-doc if the declarations are included in GTK_DISABLE_DEPRECATED guards. If the functions are in fact deprecated, the guards should be added. If not, the documentation should be fixed to not say they are.
See also #58768. Probably, the same thing.
Here is a list of all functions/macros for which I found "deprecated" in the templates, but which are not marked in the# headers: gtk_entry_get_text GTK_PRIORITY_HIGH GTK_PRIORITY_DEFAULT GTK_PRIORITY_LOW gtk_object_data_try_key gtk_object_data_force_id
Also gtk_entry_set_editable ()
*** This bug has been marked as a duplicate of 62071 ***