new element n_args in GtkObjectClass.

-timj
This commit is contained in:
Tim Janik 1998-01-23 10:38:29 +00:00
parent 3779493d17
commit 36b2a2ebcd
2 changed files with 5 additions and 0 deletions

View File

@ -134,6 +134,7 @@ gtk_object_class_init (GtkObjectClass *class)
{
class->signals = NULL;
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::signal", GTK_TYPE_SIGNAL, ARG_SIGNAL);

View File

@ -154,6 +154,10 @@ struct _GtkObjectClass
* an example of how to do this).
*/
void (* destroy) (GtkObject *object);
/* The number of arguments per class.
*/
guint n_args;
};