gtkaction: unseal private pointer
This commit is contained in:
		| @ -94,8 +94,6 @@ | ||||
| #include "gtkactivatable.h" | ||||
|  | ||||
|  | ||||
| #define GTK_ACTION_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_ACTION, GtkActionPrivate)) | ||||
|  | ||||
| struct _GtkActionPrivate  | ||||
| { | ||||
|   const gchar *name; /* interned */ | ||||
| @ -441,7 +439,9 @@ gtk_action_class_init (GtkActionClass *klass) | ||||
| static void | ||||
| gtk_action_init (GtkAction *action) | ||||
| { | ||||
|   action->private_data = GTK_ACTION_GET_PRIVATE (action); | ||||
|   action->private_data = G_TYPE_INSTANCE_GET_PRIVATE (action, | ||||
|                                                       GTK_TYPE_ACTION, | ||||
|                                                       GtkActionPrivate); | ||||
|  | ||||
|   action->private_data->name = NULL; | ||||
|   action->private_data->label = NULL; | ||||
|  | ||||
| @ -55,8 +55,7 @@ struct _GtkAction | ||||
|   GObject object; | ||||
|  | ||||
|   /*< private >*/ | ||||
|  | ||||
|   GtkActionPrivate *GSEAL (private_data); | ||||
|   GtkActionPrivate *private_data; | ||||
| }; | ||||
|  | ||||
| struct _GtkActionClass | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Javier Jardón
					Javier Jardón