Commit b1f70e81 authored by Alejandro Piñeiro's avatar Alejandro Piñeiro
Browse files

Removing pads from interfaces

Glib interfaces don't need padding in order to maintain the ABI, so
removing as they are not needed.
parent 3a916200
......@@ -66,7 +66,6 @@ struct _AtkActionIface
const gchar *desc);
const gchar* (*get_localized_name)(AtkAction *action,
gint i);
AtkFunction pad2;
};
GType atk_action_get_type (void);
......
......@@ -59,11 +59,6 @@ struct _AtkDocumentIface
gboolean ( *set_document_attribute) (AtkDocument *document,
const gchar *attribute_name,
const gchar *attribute_value);
AtkFunction pad1;
AtkFunction pad2;
AtkFunction pad3;
AtkFunction pad4;
};
GType atk_document_get_type (void);
......
......@@ -70,9 +70,6 @@ struct _AtkEditableTextIface
gint end_pos);
void (* paste_text) (AtkEditableText *text,
gint position);
AtkFunction pad1;
AtkFunction pad2;
};
GType atk_editable_text_get_type (void);
......
......@@ -62,8 +62,6 @@ struct _AtkHyperlinkImplIface
GTypeInterface parent;
AtkHyperlink* (* get_hyperlink) (AtkHyperlinkImpl *impl);
AtkFunction pad1;
};
GType atk_hyperlink_impl_get_type (void);
......
......@@ -60,10 +60,6 @@ struct _AtkHypertextIface
*/
void (* link_selected) (AtkHypertext *hypertext,
gint link_index);
AtkFunction pad1;
AtkFunction pad2;
AtkFunction pad3;
};
GType atk_hypertext_get_type (void);
......
......@@ -60,9 +60,6 @@ struct _AtkImageIface
gboolean ( *set_image_description) (AtkImage *image,
const gchar *description);
const gchar* ( *get_image_locale) (AtkImage *image);
AtkFunction pad1;
};
GType atk_image_get_type (void);
......
......@@ -65,9 +65,6 @@ struct _AtkSelectionIface
/* signal handlers */
void (*selection_changed) (AtkSelection *selection);
AtkFunction pad1;
AtkFunction pad2;
};
GType atk_selection_get_type (void);
......
......@@ -132,11 +132,6 @@ struct _AtkTableIface
void (* row_reordered) (AtkTable *table);
void (* column_reordered) (AtkTable *table);
void (* model_changed) (AtkTable *table);
AtkFunction pad1;
AtkFunction pad2;
AtkFunction pad3;
AtkFunction pad4;
};
GType atk_table_get_type (void);
......
......@@ -275,9 +275,6 @@ struct _AtkTextIface
AtkCoordType coord_type,
AtkTextClipType x_clip_type,
AtkTextClipType y_clip_type);
AtkFunction pad4;
};
GType atk_text_get_type (void);
......
......@@ -61,7 +61,6 @@ struct _AtkValueIface
const GValue *value);
void (* get_minimum_increment) (AtkValue *obj,
GValue *value);
AtkFunction pad1;
};
GType atk_value_get_type (void);
......
......@@ -44,8 +44,6 @@ typedef struct _AtkWindowIface AtkWindowIface;
struct _AtkWindowIface
{
GTypeInterface parent;
gpointer _padding_dummy[16];
};
GType atk_window_get_type (void);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment