Removing pads from interfaces
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 17 Jun 2013 17:44:57 +0000 (19:44 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 17 Jun 2013 17:44:57 +0000 (19:44 +0200)
Glib interfaces don't need padding in order to maintain the ABI, so
removing as they are not needed.

atk/atkaction.h
atk/atkdocument.h
atk/atkeditabletext.h
atk/atkhyperlinkimpl.h
atk/atkhypertext.h
atk/atkimage.h
atk/atkselection.h
atk/atktable.h
atk/atktext.h
atk/atkvalue.h
atk/atkwindow.h

index 68cb7a0..6991ab5 100755 (executable)
@@ -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);
index 685a0f7..ee1ae43 100755 (executable)
@@ -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);
index da60bbd..0849595 100755 (executable)
@@ -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);
 
index 3e0f589..8b92af9 100644 (file)
@@ -62,8 +62,6 @@ struct _AtkHyperlinkImplIface
   GTypeInterface parent;
     
   AtkHyperlink*  (* get_hyperlink) (AtkHyperlinkImpl *impl);
-
-  AtkFunction pad1;
 };
 
 GType            atk_hyperlink_impl_get_type (void);
index d8328a8..6dc2a27 100755 (executable)
@@ -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);
 
index 1091d7c..9977e52 100755 (executable)
@@ -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);
index 9a0050f..715b97a 100755 (executable)
@@ -65,9 +65,6 @@ struct _AtkSelectionIface
   /* signal handlers */
   
   void         (*selection_changed)     (AtkSelection   *selection);
-
-  AtkFunction  pad1;
-  AtkFunction  pad2;
 };
 
 GType atk_selection_get_type (void);
index e8d5075..124cfbc 100755 (executable)
@@ -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);
index 0edfcc0..5085438 100755 (executable)
@@ -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);
index 276b679..56554d3 100755 (executable)
@@ -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);
index 7d14913..dfc38ba 100644 (file)
@@ -44,8 +44,6 @@ typedef struct _AtkWindowIface AtkWindowIface;
 struct _AtkWindowIface
 {
   GTypeInterface parent;
-
-  gpointer       _padding_dummy[16];
 };
 
 GType atk_window_get_type (void);