mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
new element n_args in GtkObjectClass.
-timj
This commit is contained in:
parent
3779493d17
commit
36b2a2ebcd
@ -134,6 +134,7 @@ gtk_object_class_init (GtkObjectClass *class)
|
|||||||
{
|
{
|
||||||
class->signals = NULL;
|
class->signals = NULL;
|
||||||
class->nsignals = 0;
|
class->nsignals = 0;
|
||||||
|
class->n_args = 0;
|
||||||
|
|
||||||
gtk_object_add_arg_type ("GtkObject::user_data", GTK_TYPE_POINTER, ARG_USER_DATA);
|
gtk_object_add_arg_type ("GtkObject::user_data", GTK_TYPE_POINTER, ARG_USER_DATA);
|
||||||
gtk_object_add_arg_type ("GtkObject::signal", GTK_TYPE_SIGNAL, ARG_SIGNAL);
|
gtk_object_add_arg_type ("GtkObject::signal", GTK_TYPE_SIGNAL, ARG_SIGNAL);
|
||||||
|
@ -154,6 +154,10 @@ struct _GtkObjectClass
|
|||||||
* an example of how to do this).
|
* an example of how to do this).
|
||||||
*/
|
*/
|
||||||
void (* destroy) (GtkObject *object);
|
void (* destroy) (GtkObject *object);
|
||||||
|
|
||||||
|
/* The number of arguments per class.
|
||||||
|
*/
|
||||||
|
guint n_args;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user