[libadwaita] Standardize function prototypes



commit 7f61711633dfd067f4928df80afe6b14f16f886e
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue May 25 14:24:33 2021 +0200

    Standardize function prototypes
    
    This applies the function prototype styles rules added in the previous
    commit.
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/151

 src/adw-action-row.h               |   4 +-
 src/adw-animation-private.h        |  37 ++++++-----
 src/adw-avatar.h                   |  50 ++++++++-------
 src/adw-carousel-indicator-dots.h  |   2 +-
 src/adw-carousel-indicator-lines.h |   2 +-
 src/adw-carousel.h                 |  86 ++++++++++++-------------
 src/adw-combo-row.h                |   4 +-
 src/adw-enum-value-object.h        |   8 ++-
 src/adw-expander-row.h             |  30 ++++-----
 src/adw-fading-label-private.h     |   6 +-
 src/adw-flap.h                     |   6 +-
 src/adw-header-bar.h               |  40 ++++++------
 src/adw-leaflet.h                  | 125 ++++++++++++++++++++-----------------
 src/adw-preferences-group.h        |  22 +++----
 src/adw-preferences-page.h         |  28 ++++-----
 src/adw-preferences-row.h          |   8 +--
 src/adw-preferences-window.h       |   6 +-
 src/adw-shadow-helper-private.h    |  22 +++----
 src/adw-squeezer.h                 |  10 +--
 src/adw-status-page.h              |  20 +++---
 src/adw-swipe-tracker.h            |  24 +++----
 src/adw-swipeable.h                |  40 ++++++------
 src/adw-tab-bar.h                  |   2 +-
 src/adw-tab-box-private.h          |   5 +-
 src/adw-tab-view-private.h         |  10 +--
 src/adw-tab-view.h                 |   8 +--
 src/adw-value-object.h             |  11 ++--
 src/adw-view-switcher-title.h      |  14 ++---
 src/adw-view-switcher.h            |   4 +-
 src/adw-window-mixin-private.h     |  16 ++---
 src/adw-window-title.h             |  14 ++---
 src/adw-window.h                   |   4 +-
 32 files changed, 347 insertions(+), 321 deletions(-)
---
diff --git a/src/adw-action-row.h b/src/adw-action-row.h
index 5239b831..5ba489af 100644
--- a/src/adw-action-row.h
+++ b/src/adw-action-row.h
@@ -82,8 +82,8 @@ ADW_AVAILABLE_IN_ALL
 void adw_action_row_add_suffix (AdwActionRow *self,
                                 GtkWidget    *widget);
 ADW_AVAILABLE_IN_ALL
-void adw_action_row_remove (AdwActionRow *self,
-                            GtkWidget    *widget);
+void adw_action_row_remove     (AdwActionRow *self,
+                                GtkWidget    *widget);
 
 ADW_AVAILABLE_IN_ALL
 void adw_action_row_activate (AdwActionRow *self);
diff --git a/src/adw-animation-private.h b/src/adw-animation-private.h
index 3e0591a3..d66c555e 100644
--- a/src/adw-animation-private.h
+++ b/src/adw-animation-private.h
@@ -23,30 +23,33 @@ typedef void   (*AdwAnimationValueCallback) (double   value,
 typedef void   (*AdwAnimationDoneCallback)  (gpointer user_data);
 typedef double (*AdwAnimationEasingFunc)    (double   t);
 
-GType         adw_animation_get_type  (void) G_GNUC_CONST;
+GType adw_animation_get_type  (void) G_GNUC_CONST;
 
-AdwAnimation *adw_animation_new        (GtkWidget                 *widget,
-                                        double                     from,
-                                        double                     to,
-                                        gint64                     duration,
-                                        AdwAnimationEasingFunc     easing_func,
-                                        AdwAnimationValueCallback  value_cb,
-                                        AdwAnimationDoneCallback   done_cb,
-                                        gpointer                   user_data);
+AdwAnimation *adw_animation_new (GtkWidget                 *widget,
+                                 double                     from,
+                                 double                     to,
+                                 gint64                     duration,
+                                 AdwAnimationEasingFunc     easing_func,
+                                 AdwAnimationValueCallback  value_cb,
+                                 AdwAnimationDoneCallback   done_cb,
+                                 gpointer                   user_data);
 
-AdwAnimation *adw_animation_ref        (AdwAnimation *self);
-void          adw_animation_unref      (AdwAnimation *self);
+AdwAnimation *adw_animation_ref   (AdwAnimation *self);
+void          adw_animation_unref (AdwAnimation *self);
 
-void          adw_animation_start      (AdwAnimation *self);
-void          adw_animation_stop       (AdwAnimation *self);
+void adw_animation_start (AdwAnimation *self);
+void adw_animation_stop  (AdwAnimation *self);
 
-GtkWidget    *adw_animation_get_widget (AdwAnimation *self);
-double        adw_animation_get_value  (AdwAnimation *self);
+GtkWidget *adw_animation_get_widget (AdwAnimation *self);
+double     adw_animation_get_value  (AdwAnimation *self);
 
 G_DEFINE_AUTOPTR_CLEANUP_FUNC (AdwAnimation, adw_animation_unref)
 
-double adw_lerp (double a, double b, double t);
-double adw_ease_in_cubic (double t);
+double adw_lerp (double a,
+                 double b,
+                 double t);
+
+double adw_ease_in_cubic     (double t);
 double adw_ease_in_out_cubic (double t);
 
 G_END_DECLS
diff --git a/src/adw-avatar.h b/src/adw-avatar.h
index a3d474b9..9767a72b 100644
--- a/src/adw-avatar.h
+++ b/src/adw-avatar.h
@@ -39,37 +39,43 @@ typedef GdkPixbuf *(* AdwAvatarImageLoadFunc) (int      size,
 
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget   *adw_avatar_new                 (int                     size,
-                                             const char             *text,
-                                             gboolean                show_initials);
+GtkWidget *adw_avatar_new (int         size,
+                           const char *text,
+                           gboolean    show_initials);
+
 ADW_AVAILABLE_IN_ALL
-const char  *adw_avatar_get_icon_name       (AdwAvatar              *self);
+const char *adw_avatar_get_icon_name (AdwAvatar  *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_avatar_set_icon_name       (AdwAvatar              *self,
-                                             const char             *icon_name);
+void        adw_avatar_set_icon_name (AdwAvatar  *self,
+                                      const char *icon_name);
+
 ADW_AVAILABLE_IN_ALL
-const char  *adw_avatar_get_text            (AdwAvatar              *self);
+const char *adw_avatar_get_text (AdwAvatar  *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_avatar_set_text            (AdwAvatar              *self,
-                                             const char             *text);
+void        adw_avatar_set_text (AdwAvatar  *self,
+                                 const char *text);
+
 ADW_AVAILABLE_IN_ALL
-gboolean     adw_avatar_get_show_initials   (AdwAvatar              *self);
+gboolean adw_avatar_get_show_initials (AdwAvatar *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_avatar_set_show_initials   (AdwAvatar              *self,
-                                             gboolean                show_initials);
+void     adw_avatar_set_show_initials (AdwAvatar *self,
+                                       gboolean   show_initials);
+
 ADW_AVAILABLE_IN_ALL
-void         adw_avatar_set_image_load_func (AdwAvatar              *self,
-                                             AdwAvatarImageLoadFunc  load_image,
-                                             gpointer                user_data,
-                                             GDestroyNotify          destroy);
+void adw_avatar_set_image_load_func (AdwAvatar              *self,
+                                     AdwAvatarImageLoadFunc  load_image,
+                                     gpointer                user_data,
+                                     GDestroyNotify          destroy);
+
 ADW_AVAILABLE_IN_ALL
-int          adw_avatar_get_size            (AdwAvatar              *self);
+int  adw_avatar_get_size (AdwAvatar *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_avatar_set_size            (AdwAvatar              *self,
-                                             int                     size);
+void adw_avatar_set_size (AdwAvatar *self,
+                          int        size);
+
 ADW_AVAILABLE_IN_ALL
-GdkPixbuf   *adw_avatar_draw_to_pixbuf      (AdwAvatar              *self,
-                                             int                     size,
-                                             int                     scale_factor);
+GdkPixbuf *adw_avatar_draw_to_pixbuf (AdwAvatar *self,
+                                      int        size,
+                                      int        scale_factor);
 
 G_END_DECLS
diff --git a/src/adw-carousel-indicator-dots.h b/src/adw-carousel-indicator-dots.h
index 8fe7895d..4a941889 100644
--- a/src/adw-carousel-indicator-dots.h
+++ b/src/adw-carousel-indicator-dots.h
@@ -23,7 +23,7 @@ ADW_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (AdwCarouselIndicatorDots, adw_carousel_indicator_dots, ADW, CAROUSEL_INDICATOR_DOTS, 
GtkWidget)
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget   *adw_carousel_indicator_dots_new (void);
+GtkWidget *adw_carousel_indicator_dots_new (void);
 
 ADW_AVAILABLE_IN_ALL
 AdwCarousel *adw_carousel_indicator_dots_get_carousel (AdwCarouselIndicatorDots *self);
diff --git a/src/adw-carousel-indicator-lines.h b/src/adw-carousel-indicator-lines.h
index 17988a15..b44e313f 100644
--- a/src/adw-carousel-indicator-lines.h
+++ b/src/adw-carousel-indicator-lines.h
@@ -23,7 +23,7 @@ ADW_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (AdwCarouselIndicatorLines, adw_carousel_indicator_lines, ADW, 
CAROUSEL_INDICATOR_LINES, GtkWidget)
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget   *adw_carousel_indicator_lines_new (void);
+GtkWidget *adw_carousel_indicator_lines_new (void);
 
 ADW_AVAILABLE_IN_ALL
 AdwCarousel *adw_carousel_indicator_lines_get_carousel (AdwCarouselIndicatorLines *self);
diff --git a/src/adw-carousel.h b/src/adw-carousel.h
index 311d6cf6..6dcaa9ba 100644
--- a/src/adw-carousel.h
+++ b/src/adw-carousel.h
@@ -22,83 +22,83 @@ ADW_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (AdwCarousel, adw_carousel, ADW, CAROUSEL, GtkWidget)
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget      *adw_carousel_new (void);
+GtkWidget *adw_carousel_new (void);
 
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_prepend (AdwCarousel *self,
-                                      GtkWidget   *child);
+void adw_carousel_prepend (AdwCarousel *self,
+                           GtkWidget   *child);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_append (AdwCarousel *self,
-                                     GtkWidget   *child);
+void adw_carousel_append  (AdwCarousel *self,
+                           GtkWidget   *child);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_insert (AdwCarousel *self,
-                                     GtkWidget   *child,
-                                     int          position);
+void adw_carousel_insert  (AdwCarousel *self,
+                           GtkWidget   *child,
+                           int          position);
 
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_reorder (AdwCarousel *self,
-                                      GtkWidget   *child,
-                                      int          position);
+void adw_carousel_reorder (AdwCarousel *self,
+                           GtkWidget   *child,
+                           int          position);
 
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_remove (AdwCarousel *self,
-                                     GtkWidget   *child);
+void adw_carousel_remove (AdwCarousel *self,
+                          GtkWidget   *child);
 
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_scroll_to (AdwCarousel *self,
-                                        GtkWidget   *widget);
+void adw_carousel_scroll_to      (AdwCarousel *self,
+                                  GtkWidget   *widget);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_scroll_to_full (AdwCarousel *self,
-                                             GtkWidget   *widget,
-                                             gint64       duration);
+void adw_carousel_scroll_to_full (AdwCarousel *self,
+                                  GtkWidget   *widget,
+                                  gint64       duration);
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget      *adw_carousel_get_nth_page (AdwCarousel *self,
-                                           guint        n);
+GtkWidget *adw_carousel_get_nth_page (AdwCarousel *self,
+                                      guint        n);
 ADW_AVAILABLE_IN_ALL
-guint           adw_carousel_get_n_pages (AdwCarousel *self);
+guint      adw_carousel_get_n_pages  (AdwCarousel *self);
 ADW_AVAILABLE_IN_ALL
-double          adw_carousel_get_position (AdwCarousel *self);
+double     adw_carousel_get_position (AdwCarousel *self);
 
 ADW_AVAILABLE_IN_ALL
-gboolean        adw_carousel_get_interactive (AdwCarousel *self);
+gboolean adw_carousel_get_interactive (AdwCarousel *self);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_set_interactive (AdwCarousel *self,
-                                              gboolean     interactive);
+void     adw_carousel_set_interactive (AdwCarousel *self,
+                                       gboolean     interactive);
 
 ADW_AVAILABLE_IN_ALL
-guint           adw_carousel_get_spacing (AdwCarousel *self);
+guint adw_carousel_get_spacing (AdwCarousel *self);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_set_spacing (AdwCarousel *self,
-                                          guint        spacing);
+void adw_carousel_set_spacing  (AdwCarousel *self,
+                                guint        spacing);
 
 ADW_AVAILABLE_IN_ALL
-guint           adw_carousel_get_animation_duration (AdwCarousel *self);
+guint adw_carousel_get_animation_duration (AdwCarousel *self);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_set_animation_duration (AdwCarousel *self,
-                                                     guint        duration);
+void  adw_carousel_set_animation_duration (AdwCarousel *self,
+                                           guint        duration);
 
 ADW_AVAILABLE_IN_ALL
-gboolean        adw_carousel_get_allow_mouse_drag (AdwCarousel *self);
+gboolean adw_carousel_get_allow_mouse_drag (AdwCarousel *self);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_set_allow_mouse_drag (AdwCarousel *self,
-                                                   gboolean     allow_mouse_drag);
+void     adw_carousel_set_allow_mouse_drag (AdwCarousel *self,
+                                            gboolean     allow_mouse_drag);
 
 ADW_AVAILABLE_IN_ALL
-gboolean        adw_carousel_get_allow_scroll_wheel (AdwCarousel *self);
+gboolean adw_carousel_get_allow_scroll_wheel (AdwCarousel *self);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_set_allow_scroll_wheel (AdwCarousel *self,
-                                                     gboolean     allow_scroll_wheel);
+void     adw_carousel_set_allow_scroll_wheel (AdwCarousel *self,
+                                              gboolean     allow_scroll_wheel);
 
 ADW_AVAILABLE_IN_ALL
-gboolean        adw_carousel_get_allow_long_swipes (AdwCarousel *self);
+gboolean adw_carousel_get_allow_long_swipes (AdwCarousel *self);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_set_allow_long_swipes (AdwCarousel *self,
-                                                    gboolean     allow_long_swipes);
+void     adw_carousel_set_allow_long_swipes (AdwCarousel *self,
+                                             gboolean     allow_long_swipes);
 
 ADW_AVAILABLE_IN_ALL
-guint           adw_carousel_get_reveal_duration (AdwCarousel *self);
+guint adw_carousel_get_reveal_duration (AdwCarousel *self);
 ADW_AVAILABLE_IN_ALL
-void            adw_carousel_set_reveal_duration (AdwCarousel *self,
-                                                  guint        reveal_duration);
+void  adw_carousel_set_reveal_duration (AdwCarousel *self,
+                                        guint        reveal_duration);
 G_END_DECLS
diff --git a/src/adw-combo-row.h b/src/adw-combo-row.h
index 07079df8..3b29df16 100644
--- a/src/adw-combo-row.h
+++ b/src/adw-combo-row.h
@@ -44,11 +44,11 @@ ADW_AVAILABLE_IN_ALL
 void        adw_combo_row_set_model (AdwComboRow *self,
                                      GListModel  *model);
 
+ADW_AVAILABLE_IN_ALL
+guint adw_combo_row_get_selected (AdwComboRow *self);
 ADW_AVAILABLE_IN_ALL
 void  adw_combo_row_set_selected (AdwComboRow *self,
                                   guint        position);
-ADW_AVAILABLE_IN_ALL
-guint adw_combo_row_get_selected (AdwComboRow *self);
 
 ADW_AVAILABLE_IN_ALL
 gpointer adw_combo_row_get_selected_item (AdwComboRow *self);
diff --git a/src/adw-enum-value-object.h b/src/adw-enum-value-object.h
index 94dbbdeb..ec88541d 100644
--- a/src/adw-enum-value-object.h
+++ b/src/adw-enum-value-object.h
@@ -23,10 +23,12 @@ ADW_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (AdwEnumValueObject, adw_enum_value_object, ADW, ENUM_VALUE_OBJECT, GObject)
 
 ADW_AVAILABLE_IN_ALL
-int         adw_enum_value_object_get_value (AdwEnumValueObject *self);
+int adw_enum_value_object_get_value (AdwEnumValueObject *self);
+
 ADW_AVAILABLE_IN_ALL
-const char *adw_enum_value_object_get_name  (AdwEnumValueObject *self);
+const char *adw_enum_value_object_get_name (AdwEnumValueObject *self);
+
 ADW_AVAILABLE_IN_ALL
-const char *adw_enum_value_object_get_nick  (AdwEnumValueObject *self);
+const char *adw_enum_value_object_get_nick (AdwEnumValueObject *self);
 
 G_END_DECLS
diff --git a/src/adw-expander-row.h b/src/adw-expander-row.h
index 4b667aa8..372ac3ee 100644
--- a/src/adw-expander-row.h
+++ b/src/adw-expander-row.h
@@ -35,13 +35,13 @@ struct _AdwExpanderRowClass
 };
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget   *adw_expander_row_new (void);
+GtkWidget *adw_expander_row_new (void);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_expander_row_get_subtitle (AdwExpanderRow *self);
+const char *adw_expander_row_get_subtitle (AdwExpanderRow *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_expander_row_set_subtitle (AdwExpanderRow *self,
-                                            const char     *subtitle);
+void        adw_expander_row_set_subtitle (AdwExpanderRow *self,
+                                           const char     *subtitle);
 
 ADW_AVAILABLE_IN_ALL
 gboolean adw_expander_row_get_use_underline (AdwExpanderRow *self);
@@ -50,10 +50,10 @@ void     adw_expander_row_set_use_underline (AdwExpanderRow *self,
                                              gboolean        use_underline);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_expander_row_get_icon_name (AdwExpanderRow *self);
+const char *adw_expander_row_get_icon_name (AdwExpanderRow *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_expander_row_set_icon_name (AdwExpanderRow *self,
-                                             const char     *icon_name);
+void        adw_expander_row_set_icon_name (AdwExpanderRow *self,
+                                            const char     *icon_name);
 
 ADW_AVAILABLE_IN_ALL
 gboolean adw_expander_row_get_expanded (AdwExpanderRow *self);
@@ -74,17 +74,17 @@ void     adw_expander_row_set_show_enable_switch (AdwExpanderRow *self,
                                                   gboolean        show_enable_switch);
 
 ADW_AVAILABLE_IN_ALL
-void     adw_expander_row_add_action (AdwExpanderRow *self,
-                                      GtkWidget      *widget);
+void adw_expander_row_add_action (AdwExpanderRow *self,
+                                  GtkWidget      *widget);
 ADW_AVAILABLE_IN_ALL
-void     adw_expander_row_add_prefix (AdwExpanderRow *self,
-                                      GtkWidget      *widget);
+void adw_expander_row_add_prefix (AdwExpanderRow *self,
+                                  GtkWidget      *widget);
 
 ADW_AVAILABLE_IN_ALL
-void     adw_expander_row_add (AdwExpanderRow *self,
-                               GtkWidget      *child);
+void adw_expander_row_add    (AdwExpanderRow *self,
+                              GtkWidget      *child);
 ADW_AVAILABLE_IN_ALL
-void     adw_expander_row_remove (AdwExpanderRow *self,
-                                  GtkWidget      *child);
+void adw_expander_row_remove (AdwExpanderRow *self,
+                              GtkWidget      *child);
 
 G_END_DECLS
diff --git a/src/adw-fading-label-private.h b/src/adw-fading-label-private.h
index 630d2910..115a7b52 100644
--- a/src/adw-fading-label-private.h
+++ b/src/adw-fading-label-private.h
@@ -24,8 +24,8 @@ const char *adw_fading_label_get_label (AdwFadingLabel *self);
 void        adw_fading_label_set_label (AdwFadingLabel *self,
                                         const char     *label);
 
-float       adw_fading_label_get_align (AdwFadingLabel *self);
-void        adw_fading_label_set_align (AdwFadingLabel *self,
-                                        float           align);
+float adw_fading_label_get_align (AdwFadingLabel *self);
+void  adw_fading_label_set_align (AdwFadingLabel *self,
+                                  float           align);
 
 G_END_DECLS
diff --git a/src/adw-flap.h b/src/adw-flap.h
index ebd4a26c..69cb7cf0 100644
--- a/src/adw-flap.h
+++ b/src/adw-flap.h
@@ -38,7 +38,7 @@ ADW_AVAILABLE_IN_ALL
 GtkWidget *adw_flap_new (void);
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget *adw_flap_get_content (AdwFlap *self);
+GtkWidget *adw_flap_get_content (AdwFlap   *self);
 ADW_AVAILABLE_IN_ALL
 void       adw_flap_set_content (AdwFlap   *self,
                                  GtkWidget *content);
@@ -56,13 +56,13 @@ void       adw_flap_set_separator (AdwFlap   *self,
                                    GtkWidget *separator);
 
 ADW_AVAILABLE_IN_ALL
-GtkPackType adw_flap_get_flap_position (AdwFlap *self);
+GtkPackType adw_flap_get_flap_position (AdwFlap     *self);
 ADW_AVAILABLE_IN_ALL
 void        adw_flap_set_flap_position (AdwFlap     *self,
                                         GtkPackType  position);
 
 ADW_AVAILABLE_IN_ALL
-gboolean adw_flap_get_reveal_flap (AdwFlap *self);
+gboolean adw_flap_get_reveal_flap (AdwFlap  *self);
 ADW_AVAILABLE_IN_ALL
 void     adw_flap_set_reveal_flap (AdwFlap  *self,
                                    gboolean  reveal_flap);
diff --git a/src/adw-header-bar.h b/src/adw-header-bar.h
index 01bfdcb1..a6355062 100644
--- a/src/adw-header-bar.h
+++ b/src/adw-header-bar.h
@@ -42,44 +42,44 @@ typedef enum {
 } AdwCenteringPolicy;
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget   *adw_header_bar_new (void);
+GtkWidget *adw_header_bar_new (void);
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget   *adw_header_bar_get_title_widget  (AdwHeaderBar *self);
+GtkWidget *adw_header_bar_get_title_widget (AdwHeaderBar *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_header_bar_set_title_widget  (AdwHeaderBar *self,
-                                               GtkWidget    *title_widget);
+void       adw_header_bar_set_title_widget (AdwHeaderBar *self,
+                                            GtkWidget    *title_widget);
 
 ADW_AVAILABLE_IN_ALL
-void         adw_header_bar_pack_start        (AdwHeaderBar *self,
-                                               GtkWidget    *child);
+void adw_header_bar_pack_start (AdwHeaderBar *self,
+                                GtkWidget    *child);
 ADW_AVAILABLE_IN_ALL
-void         adw_header_bar_pack_end          (AdwHeaderBar *self,
-                                               GtkWidget    *child);
+void adw_header_bar_pack_end   (AdwHeaderBar *self,
+                                GtkWidget    *child);
 ADW_AVAILABLE_IN_ALL
-void         adw_header_bar_remove            (AdwHeaderBar *self,
-                                               GtkWidget    *child);
+void adw_header_bar_remove     (AdwHeaderBar *self,
+                                GtkWidget    *child);
 
 ADW_AVAILABLE_IN_ALL
-gboolean     adw_header_bar_get_show_start_title_buttons (AdwHeaderBar *self);
+gboolean adw_header_bar_get_show_start_title_buttons (AdwHeaderBar *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_header_bar_set_show_start_title_buttons (AdwHeaderBar *self,
-                                                          gboolean      setting);
+void     adw_header_bar_set_show_start_title_buttons (AdwHeaderBar *self,
+                                                      gboolean      setting);
 
 ADW_AVAILABLE_IN_ALL
-gboolean     adw_header_bar_get_show_end_title_buttons (AdwHeaderBar *self);
+gboolean adw_header_bar_get_show_end_title_buttons (AdwHeaderBar *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_header_bar_set_show_end_title_buttons (AdwHeaderBar *self,
-                                                        gboolean      setting);
+void     adw_header_bar_set_show_end_title_buttons (AdwHeaderBar *self,
+                                                    gboolean      setting);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_header_bar_get_decoration_layout (AdwHeaderBar *self);
+const char *adw_header_bar_get_decoration_layout (AdwHeaderBar *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_header_bar_set_decoration_layout (AdwHeaderBar *self,
-                                                   const char   *layout);
+void        adw_header_bar_set_decoration_layout (AdwHeaderBar *self,
+                                                  const char   *layout);
 
 ADW_AVAILABLE_IN_ALL
-AdwCenteringPolicy adw_header_bar_get_centering_policy (AdwHeaderBar *self);
+AdwCenteringPolicy adw_header_bar_get_centering_policy (AdwHeaderBar       *self);
 ADW_AVAILABLE_IN_ALL
 void               adw_header_bar_set_centering_policy (AdwHeaderBar       *self,
                                                         AdwCenteringPolicy  centering_policy);
diff --git a/src/adw-leaflet.h b/src/adw-leaflet.h
index 0a2b48c1..9e971ee5 100644
--- a/src/adw-leaflet.h
+++ b/src/adw-leaflet.h
@@ -33,10 +33,10 @@ void        adw_leaflet_page_set_name (AdwLeafletPage *self,
                                        const char     *name);
 
 ADW_AVAILABLE_IN_ALL
-gboolean   adw_leaflet_page_get_navigatable (AdwLeafletPage *self);
+gboolean adw_leaflet_page_get_navigatable (AdwLeafletPage *self);
 ADW_AVAILABLE_IN_ALL
-void       adw_leaflet_page_set_navigatable (AdwLeafletPage *self,
-                                             gboolean        navigatable);
+void     adw_leaflet_page_set_navigatable (AdwLeafletPage *self,
+                                           gboolean        navigatable);
 
 #define ADW_TYPE_LEAFLET (adw_leaflet_get_type())
 
@@ -50,103 +50,112 @@ typedef enum {
 } AdwLeafletTransitionType;
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget       *adw_leaflet_new (void);
+GtkWidget *adw_leaflet_new (void);
 
 ADW_AVAILABLE_IN_ALL
-AdwLeafletPage  *adw_leaflet_append (AdwLeaflet *self,
-                                     GtkWidget  *child);
+AdwLeafletPage *adw_leaflet_append (AdwLeaflet  *self,
+                                    GtkWidget   *child);
 ADW_AVAILABLE_IN_ALL
-AdwLeafletPage  *adw_leaflet_prepend (AdwLeaflet *self,
-                                      GtkWidget  *child);
+AdwLeafletPage *adw_leaflet_prepend (AdwLeaflet *self,
+                                     GtkWidget  *child);
+
 ADW_AVAILABLE_IN_ALL
-AdwLeafletPage  *adw_leaflet_insert_child_after (AdwLeaflet *self,
+AdwLeafletPage *adw_leaflet_insert_child_after  (AdwLeaflet *self,
                                                  GtkWidget  *child,
                                                  GtkWidget  *sibling);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_reorder_child_after (AdwLeaflet *self,
-                                                  GtkWidget  *child,
-                                                  GtkWidget  *sibling);
+void            adw_leaflet_reorder_child_after (AdwLeaflet *self,
+                                                  GtkWidget *child,
+                                                  GtkWidget *sibling);
 
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_remove (AdwLeaflet *self,
-                                     GtkWidget  *child);
+void adw_leaflet_remove (AdwLeaflet *self,
+                         GtkWidget  *child);
 
 ADW_AVAILABLE_IN_ALL
-AdwLeafletPage  *adw_leaflet_get_page (AdwLeaflet *self,
-                                       GtkWidget  *child);
+AdwLeafletPage *adw_leaflet_get_page (AdwLeaflet *self,
+                                      GtkWidget  *child);
 
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_leaflet_get_folded (AdwLeaflet *self);
+gboolean adw_leaflet_get_folded (AdwLeaflet *self);
+
 ADW_AVAILABLE_IN_ALL
-GtkWidget       *adw_leaflet_get_visible_child (AdwLeaflet *self);
+GtkWidget *adw_leaflet_get_visible_child (AdwLeaflet *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_visible_child (AdwLeaflet *self,
-                                                GtkWidget  *visible_child);
+void       adw_leaflet_set_visible_child (AdwLeaflet *self,
+                                          GtkWidget  *visible_child);
+
 ADW_AVAILABLE_IN_ALL
-const char      *adw_leaflet_get_visible_child_name (AdwLeaflet *self);
+const char *adw_leaflet_get_visible_child_name (AdwLeaflet *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_visible_child_name (AdwLeaflet *self,
-                                                     const char *name);
+void        adw_leaflet_set_visible_child_name (AdwLeaflet *self,
+                                                const char *name);
+
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_leaflet_get_homogeneous (AdwLeaflet     *self,
-                                              gboolean        folded,
-                                              GtkOrientation  orientation);
+gboolean adw_leaflet_get_homogeneous (AdwLeaflet     *self,
+                                      gboolean        folded,
+                                      GtkOrientation  orientation);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_homogeneous (AdwLeaflet     *self,
-                                              gboolean        folded,
-                                              GtkOrientation  orientation,
-                                              gboolean        homogeneous);
+void     adw_leaflet_set_homogeneous (AdwLeaflet     *self,
+                                      gboolean        folded,
+                                      GtkOrientation  orientation,
+                                      gboolean        homogeneous);
+
 ADW_AVAILABLE_IN_ALL
-AdwLeafletTransitionType adw_leaflet_get_transition_type (AdwLeaflet *self);
+AdwLeafletTransitionType adw_leaflet_get_transition_type (AdwLeaflet               *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_transition_type (AdwLeaflet               *self,
-                                                  AdwLeafletTransitionType  transition);
+void                     adw_leaflet_set_transition_type (AdwLeaflet               *self,
+                                                          AdwLeafletTransitionType  transition);
 
 ADW_AVAILABLE_IN_ALL
-guint            adw_leaflet_get_mode_transition_duration (AdwLeaflet *self);
+guint adw_leaflet_get_mode_transition_duration (AdwLeaflet *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_mode_transition_duration (AdwLeaflet *self,
-                                                           guint       duration);
+void  adw_leaflet_set_mode_transition_duration (AdwLeaflet *self,
+                                                guint       duration);
 
 ADW_AVAILABLE_IN_ALL
-guint            adw_leaflet_get_child_transition_duration (AdwLeaflet *self);
+guint adw_leaflet_get_child_transition_duration (AdwLeaflet *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_child_transition_duration (AdwLeaflet *self,
-                                                            guint       duration);
+void  adw_leaflet_set_child_transition_duration (AdwLeaflet *self,
+                                                 guint       duration);
+
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_leaflet_get_child_transition_running (AdwLeaflet *self);
+gboolean adw_leaflet_get_child_transition_running (AdwLeaflet *self);
+
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_leaflet_get_interpolate_size (AdwLeaflet *self);
+gboolean adw_leaflet_get_interpolate_size (AdwLeaflet *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_interpolate_size (AdwLeaflet *self,
-                                                   gboolean    interpolate_size);
+void     adw_leaflet_set_interpolate_size (AdwLeaflet *self,
+                                           gboolean    interpolate_size);
+
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_leaflet_get_can_swipe_back (AdwLeaflet *self);
+gboolean adw_leaflet_get_can_swipe_back (AdwLeaflet *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_can_swipe_back (AdwLeaflet *self,
-                                                 gboolean    can_swipe_back);
+void     adw_leaflet_set_can_swipe_back (AdwLeaflet *self,
+                                         gboolean    can_swipe_back);
+
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_leaflet_get_can_swipe_forward (AdwLeaflet *self);
+gboolean adw_leaflet_get_can_swipe_forward (AdwLeaflet *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_can_swipe_forward (AdwLeaflet *self,
-                                                    gboolean    can_swipe_forward);
+void     adw_leaflet_set_can_swipe_forward (AdwLeaflet *self,
+                                            gboolean    can_swipe_forward);
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget       *adw_leaflet_get_adjacent_child (AdwLeaflet             *self,
-                                                 AdwNavigationDirection  direction);
+GtkWidget *adw_leaflet_get_adjacent_child (AdwLeaflet             *self,
+                                           AdwNavigationDirection  direction);
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_leaflet_navigate (AdwLeaflet             *self,
-                                       AdwNavigationDirection  direction);
+gboolean   adw_leaflet_navigate           (AdwLeaflet             *self,
+                                           AdwNavigationDirection  direction);
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget       *adw_leaflet_get_child_by_name (AdwLeaflet *self,
-                                                const char *name);
+GtkWidget *adw_leaflet_get_child_by_name (AdwLeaflet *self,
+                                          const char *name);
 
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_leaflet_get_can_unfold (AdwLeaflet *self);
+gboolean adw_leaflet_get_can_unfold (AdwLeaflet *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_leaflet_set_can_unfold (AdwLeaflet *self,
-                                             gboolean    can_unfold);
+void     adw_leaflet_set_can_unfold (AdwLeaflet *self,
+                                     gboolean    can_unfold);
 
 ADW_AVAILABLE_IN_ALL
 GtkSelectionModel *adw_leaflet_get_pages (AdwLeaflet *self);
diff --git a/src/adw-preferences-group.h b/src/adw-preferences-group.h
index 86819627..b721d5c0 100644
--- a/src/adw-preferences-group.h
+++ b/src/adw-preferences-group.h
@@ -34,25 +34,25 @@ struct _AdwPreferencesGroupClass
 };
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget   *adw_preferences_group_new (void);
+GtkWidget *adw_preferences_group_new (void);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_preferences_group_get_title (AdwPreferencesGroup *self);
+const char *adw_preferences_group_get_title (AdwPreferencesGroup *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_group_set_title (AdwPreferencesGroup *self,
-                                              const char          *title);
+void        adw_preferences_group_set_title (AdwPreferencesGroup *self,
+                                             const char          *title);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_preferences_group_get_description (AdwPreferencesGroup *self);
+const char *adw_preferences_group_get_description (AdwPreferencesGroup *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_group_set_description (AdwPreferencesGroup *self,
-                                                    const char          *description);
+void        adw_preferences_group_set_description (AdwPreferencesGroup *self,
+                                                   const char          *description);
 
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_group_add (AdwPreferencesGroup *self,
-                                        GtkWidget           *child);
+void adw_preferences_group_add    (AdwPreferencesGroup *self,
+                                   GtkWidget           *child);
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_group_remove (AdwPreferencesGroup *self,
-                                           GtkWidget           *child);
+void adw_preferences_group_remove (AdwPreferencesGroup *self,
+                                   GtkWidget           *child);
 
 G_END_DECLS
diff --git a/src/adw-preferences-page.h b/src/adw-preferences-page.h
index 104c2d39..affc36dd 100644
--- a/src/adw-preferences-page.h
+++ b/src/adw-preferences-page.h
@@ -35,31 +35,31 @@ struct _AdwPreferencesPageClass
 };
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget   *adw_preferences_page_new (void);
+GtkWidget *adw_preferences_page_new (void);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_preferences_page_get_icon_name (AdwPreferencesPage *self);
+const char *adw_preferences_page_get_icon_name (AdwPreferencesPage *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_page_set_icon_name (AdwPreferencesPage *self,
-                                                 const char         *icon_name);
+void        adw_preferences_page_set_icon_name (AdwPreferencesPage *self,
+                                                const char         *icon_name);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_preferences_page_get_title (AdwPreferencesPage *self);
+const char *adw_preferences_page_get_title (AdwPreferencesPage *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_page_set_title (AdwPreferencesPage *self,
-                                             const char         *title);
+void        adw_preferences_page_set_title (AdwPreferencesPage *self,
+                                            const char         *title);
 
 ADW_AVAILABLE_IN_ALL
-gboolean     adw_preferences_page_get_use_underline (AdwPreferencesPage *self);
+gboolean adw_preferences_page_get_use_underline (AdwPreferencesPage *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_page_set_use_underline (AdwPreferencesPage *self,
-                                                     gboolean            use_underline);
+void     adw_preferences_page_set_use_underline (AdwPreferencesPage *self,
+                                                 gboolean            use_underline);
 
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_page_add (AdwPreferencesPage  *self,
-                                       AdwPreferencesGroup *group);
+void adw_preferences_page_add    (AdwPreferencesPage  *self,
+                                  AdwPreferencesGroup *group);
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_page_remove (AdwPreferencesPage  *self,
-                                          AdwPreferencesGroup *group);
+void adw_preferences_page_remove (AdwPreferencesPage  *self,
+                                  AdwPreferencesGroup *group);
 
 G_END_DECLS
diff --git a/src/adw-preferences-row.h b/src/adw-preferences-row.h
index c0cc0b91..0fe03506 100644
--- a/src/adw-preferences-row.h
+++ b/src/adw-preferences-row.h
@@ -34,13 +34,13 @@ struct _AdwPreferencesRowClass
 };
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget   *adw_preferences_row_new (void);
+GtkWidget *adw_preferences_row_new (void);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_preferences_row_get_title (AdwPreferencesRow *self);
+const char *adw_preferences_row_get_title (AdwPreferencesRow *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_preferences_row_set_title (AdwPreferencesRow *self,
-                                            const char        *title);
+void        adw_preferences_row_set_title (AdwPreferencesRow *self,
+                                           const char        *title);
 
 ADW_AVAILABLE_IN_ALL
 gboolean adw_preferences_row_get_use_underline (AdwPreferencesRow *self);
diff --git a/src/adw-preferences-window.h b/src/adw-preferences-window.h
index cc324190..602c1fc7 100644
--- a/src/adw-preferences-window.h
+++ b/src/adw-preferences-window.h
@@ -54,11 +54,11 @@ ADW_AVAILABLE_IN_ALL
 void adw_preferences_window_present_subpage (AdwPreferencesWindow *self,
                                              GtkWidget            *subpage);
 ADW_AVAILABLE_IN_ALL
-void adw_preferences_window_close_subpage (AdwPreferencesWindow *self);
+void adw_preferences_window_close_subpage   (AdwPreferencesWindow *self);
 
 ADW_AVAILABLE_IN_ALL
-void adw_preferences_window_add (AdwPreferencesWindow *self,
-                                 AdwPreferencesPage   *page);
+void adw_preferences_window_add    (AdwPreferencesWindow *self,
+                                    AdwPreferencesPage   *page);
 ADW_AVAILABLE_IN_ALL
 void adw_preferences_window_remove (AdwPreferencesWindow *self,
                                     AdwPreferencesPage   *page);
diff --git a/src/adw-shadow-helper-private.h b/src/adw-shadow-helper-private.h
index 67ee6923..1bfbdb7a 100644
--- a/src/adw-shadow-helper-private.h
+++ b/src/adw-shadow-helper-private.h
@@ -20,16 +20,16 @@ G_DECLARE_FINAL_TYPE (AdwShadowHelper, adw_shadow_helper, ADW, SHADOW_HELPER, GO
 
 AdwShadowHelper *adw_shadow_helper_new (GtkWidget *widget);
 
-void             adw_shadow_helper_size_allocate (AdwShadowHelper *self,
-                                                  int              width,
-                                                  int              height,
-                                                  int              baseline,
-                                                  int              x,
-                                                  int              y,
-                                                  double           progress,
-                                                  GtkPanDirection  direction);
-
-void             adw_shadow_helper_snapshot (AdwShadowHelper *self,
-                                             GtkSnapshot     *snapshot);
+void adw_shadow_helper_size_allocate (AdwShadowHelper *self,
+                                      int              width,
+                                      int              height,
+                                      int              baseline,
+                                      int              x,
+                                      int              y,
+                                      double           progress,
+                                      GtkPanDirection  direction);
+
+void adw_shadow_helper_snapshot (AdwShadowHelper *self,
+                                 GtkSnapshot     *snapshot);
 
 G_END_DECLS
diff --git a/src/adw-squeezer.h b/src/adw-squeezer.h
index 0ae3f1d4..8b8a5d4b 100644
--- a/src/adw-squeezer.h
+++ b/src/adw-squeezer.h
@@ -45,8 +45,8 @@ ADW_AVAILABLE_IN_ALL
 GtkWidget *adw_squeezer_new (void);
 
 ADW_AVAILABLE_IN_ALL
-AdwSqueezerPage *adw_squeezer_add (AdwSqueezer *self,
-                                   GtkWidget   *child);
+AdwSqueezerPage *adw_squeezer_add    (AdwSqueezer *self,
+                                      GtkWidget   *child);
 ADW_AVAILABLE_IN_ALL
 void             adw_squeezer_remove (AdwSqueezer *self,
                                       GtkWidget   *child);
@@ -68,7 +68,7 @@ void  adw_squeezer_set_transition_duration (AdwSqueezer *self,
                                             guint        duration);
 
 ADW_AVAILABLE_IN_ALL
-AdwSqueezerTransitionType adw_squeezer_get_transition_type (AdwSqueezer *self);
+AdwSqueezerTransitionType adw_squeezer_get_transition_type (AdwSqueezer               *self);
 ADW_AVAILABLE_IN_ALL
 void                      adw_squeezer_set_transition_type (AdwSqueezer               *self,
                                                             AdwSqueezerTransitionType  transition);
@@ -89,13 +89,13 @@ ADW_AVAILABLE_IN_ALL
 float adw_squeezer_get_xalign (AdwSqueezer *self);
 ADW_AVAILABLE_IN_ALL
 void  adw_squeezer_set_xalign (AdwSqueezer *self,
-                               float       xalign);
+                               float        xalign);
 
 ADW_AVAILABLE_IN_ALL
 float adw_squeezer_get_yalign (AdwSqueezer *self);
 ADW_AVAILABLE_IN_ALL
 void  adw_squeezer_set_yalign (AdwSqueezer *self,
-                               float       yalign);
+                               float        yalign);
 
 ADW_AVAILABLE_IN_ALL
 GtkSelectionModel *adw_squeezer_get_pages (AdwSqueezer *self);
diff --git a/src/adw-status-page.h b/src/adw-status-page.h
index c4577494..718d27af 100644
--- a/src/adw-status-page.h
+++ b/src/adw-status-page.h
@@ -22,19 +22,19 @@ ADW_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (AdwStatusPage, adw_status_page, ADW, STATUS_PAGE, GtkWidget)
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget       *adw_status_page_new (void);
+GtkWidget *adw_status_page_new (void);
 
 ADW_AVAILABLE_IN_ALL
-const char      *adw_status_page_get_icon_name (AdwStatusPage *self);
+const char *adw_status_page_get_icon_name (AdwStatusPage *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_status_page_set_icon_name (AdwStatusPage *self,
-                                                const char    *icon_name);
+void        adw_status_page_set_icon_name (AdwStatusPage *self,
+                                           const char    *icon_name);
 
 ADW_AVAILABLE_IN_ALL
-const char      *adw_status_page_get_title (AdwStatusPage *self);
+const char *adw_status_page_get_title (AdwStatusPage *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_status_page_set_title (AdwStatusPage *self,
-                                            const char    *title);
+void        adw_status_page_set_title (AdwStatusPage *self,
+                                       const char    *title);
 
 ADW_AVAILABLE_IN_ALL
 const char      *adw_status_page_get_description (AdwStatusPage *self);
@@ -43,9 +43,9 @@ void             adw_status_page_set_description (AdwStatusPage *self,
                                                   const char    *description);
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget       *adw_status_page_get_child (AdwStatusPage *self);
+GtkWidget *adw_status_page_get_child (AdwStatusPage *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_status_page_set_child (AdwStatusPage *self,
-                                            GtkWidget     *child);
+void       adw_status_page_set_child (AdwStatusPage *self,
+                                      GtkWidget     *child);
 
 G_END_DECLS
diff --git a/src/adw-swipe-tracker.h b/src/adw-swipe-tracker.h
index 94477243..1e109d0b 100644
--- a/src/adw-swipe-tracker.h
+++ b/src/adw-swipe-tracker.h
@@ -26,19 +26,19 @@ ADW_AVAILABLE_IN_ALL
 AdwSwipeTracker *adw_swipe_tracker_new (AdwSwipeable *swipeable);
 
 ADW_AVAILABLE_IN_ALL
-AdwSwipeable    *adw_swipe_tracker_get_swipeable (AdwSwipeTracker *self);
+AdwSwipeable *adw_swipe_tracker_get_swipeable (AdwSwipeTracker *self);
 
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_swipe_tracker_get_enabled (AdwSwipeTracker *self);
+gboolean adw_swipe_tracker_get_enabled (AdwSwipeTracker *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_swipe_tracker_set_enabled (AdwSwipeTracker *self,
-                                                gboolean         enabled);
+void     adw_swipe_tracker_set_enabled (AdwSwipeTracker *self,
+                                        gboolean         enabled);
 
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_swipe_tracker_get_reversed (AdwSwipeTracker *self);
+gboolean adw_swipe_tracker_get_reversed (AdwSwipeTracker *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_swipe_tracker_set_reversed (AdwSwipeTracker *self,
-                                                 gboolean         reversed);
+void     adw_swipe_tracker_set_reversed (AdwSwipeTracker *self,
+                                         gboolean         reversed);
 
 ADW_AVAILABLE_IN_ALL
 gboolean         adw_swipe_tracker_get_allow_mouse_drag (AdwSwipeTracker *self);
@@ -47,13 +47,13 @@ void             adw_swipe_tracker_set_allow_mouse_drag (AdwSwipeTracker *self,
                                                          gboolean         allow_mouse_drag);
 
 ADW_AVAILABLE_IN_ALL
-gboolean         adw_swipe_tracker_get_allow_long_swipes (AdwSwipeTracker *self);
+gboolean adw_swipe_tracker_get_allow_long_swipes (AdwSwipeTracker *self);
 ADW_AVAILABLE_IN_ALL
-void             adw_swipe_tracker_set_allow_long_swipes (AdwSwipeTracker *self,
-                                                          gboolean         allow_long_swipes);
+void     adw_swipe_tracker_set_allow_long_swipes (AdwSwipeTracker *self,
+                                                  gboolean         allow_long_swipes);
 
 ADW_AVAILABLE_IN_ALL
-void             adw_swipe_tracker_shift_position (AdwSwipeTracker *self,
-                                                   double           delta);
+void adw_swipe_tracker_shift_position (AdwSwipeTracker *self,
+                                       double           delta);
 
 G_END_DECLS
diff --git a/src/adw-swipeable.h b/src/adw-swipeable.h
index d42bda7d..00e93bb0 100644
--- a/src/adw-swipeable.h
+++ b/src/adw-swipeable.h
@@ -39,33 +39,37 @@ struct _AdwSwipeableInterface
 {
   GTypeInterface parent;
 
-  double            (*get_distance)        (AdwSwipeable *self);
-  double *          (*get_snap_points)     (AdwSwipeable *self,
-                                            int          *n_snap_points);
-  double            (*get_progress)        (AdwSwipeable *self);
-  double            (*get_cancel_progress) (AdwSwipeable *self);
-  void              (*get_swipe_area)      (AdwSwipeable           *self,
-                                            AdwNavigationDirection  navigation_direction,
-                                            gboolean                is_drag,
-                                            GdkRectangle           *rect);
+  double  (*get_distance)        (AdwSwipeable *self);
+  double *(*get_snap_points)     (AdwSwipeable *self,
+                                  int          *n_snap_points);
+  double  (*get_progress)        (AdwSwipeable *self);
+  double  (*get_cancel_progress) (AdwSwipeable *self);
+  void    (*get_swipe_area)      (AdwSwipeable           *self,
+                                  AdwNavigationDirection  navigation_direction,
+                                  gboolean                is_drag,
+                                  GdkRectangle           *rect);
 
   /*< private >*/
   gpointer padding[4];
 };
 
 ADW_AVAILABLE_IN_ALL
-double           adw_swipeable_get_distance        (AdwSwipeable *self);
+double adw_swipeable_get_distance (AdwSwipeable *self);
+
 ADW_AVAILABLE_IN_ALL
-double          *adw_swipeable_get_snap_points     (AdwSwipeable *self,
-                                                    int          *n_snap_points);
+double *adw_swipeable_get_snap_points (AdwSwipeable *self,
+                                       int          *n_snap_points);
+
 ADW_AVAILABLE_IN_ALL
-double           adw_swipeable_get_progress        (AdwSwipeable *self);
+double adw_swipeable_get_progress (AdwSwipeable *self);
+
 ADW_AVAILABLE_IN_ALL
-double           adw_swipeable_get_cancel_progress (AdwSwipeable *self);
+double adw_swipeable_get_cancel_progress (AdwSwipeable *self);
+
 ADW_AVAILABLE_IN_ALL
-void             adw_swipeable_get_swipe_area      (AdwSwipeable           *self,
-                                                    AdwNavigationDirection  navigation_direction,
-                                                    gboolean                is_drag,
-                                                    GdkRectangle           *rect);
+void adw_swipeable_get_swipe_area (AdwSwipeable           *self,
+                                   AdwNavigationDirection  navigation_direction,
+                                   gboolean                is_drag,
+                                   GdkRectangle           *rect);
 
 G_END_DECLS
diff --git a/src/adw-tab-bar.h b/src/adw-tab-bar.h
index c7135cb9..9f2834ec 100644
--- a/src/adw-tab-bar.h
+++ b/src/adw-tab-bar.h
@@ -29,7 +29,7 @@ ADW_AVAILABLE_IN_ALL
 AdwTabBar *adw_tab_bar_new (void);
 
 ADW_AVAILABLE_IN_ALL
-AdwTabView *adw_tab_bar_get_view (AdwTabBar *self);
+AdwTabView *adw_tab_bar_get_view (AdwTabBar  *self);
 ADW_AVAILABLE_IN_ALL
 void        adw_tab_bar_set_view (AdwTabBar  *self,
                                   AdwTabView *view);
diff --git a/src/adw-tab-box-private.h b/src/adw-tab-box-private.h
index f6347114..7a0ef971 100644
--- a/src/adw-tab-box-private.h
+++ b/src/adw-tab-box-private.h
@@ -23,6 +23,7 @@ G_DECLARE_FINAL_TYPE (AdwTabBox, adw_tab_box, ADW, TAB_BOX, GtkWidget)
 
 void adw_tab_box_set_view (AdwTabBox  *self,
                            AdwTabView *view);
+
 void adw_tab_box_set_adjustment (AdwTabBox     *self,
                                  GtkAdjustment *adjustment);
 
@@ -35,8 +36,8 @@ void adw_tab_box_select_page (AdwTabBox  *self,
                               AdwTabPage *page);
 
 void adw_tab_box_try_focus_selected_tab (AdwTabBox  *self);
-gboolean adw_tab_box_is_page_focused (AdwTabBox  *self,
-                                      AdwTabPage *page);
+gboolean adw_tab_box_is_page_focused    (AdwTabBox  *self,
+                                         AdwTabPage *page);
 
 void adw_tab_box_setup_extra_drop_target (AdwTabBox     *self,
                                           GdkDragAction  actions,
diff --git a/src/adw-tab-view-private.h b/src/adw-tab-view-private.h
index f75f4698..de31494f 100644
--- a/src/adw-tab-view-private.h
+++ b/src/adw-tab-view-private.h
@@ -19,11 +19,11 @@ G_BEGIN_DECLS
 gboolean adw_tab_view_select_first_page (AdwTabView *self);
 gboolean adw_tab_view_select_last_page  (AdwTabView *self);
 
-void adw_tab_view_detach_page   (AdwTabView *self,
-                                 AdwTabPage *page);
-void adw_tab_view_attach_page   (AdwTabView *self,
-                                 AdwTabPage *page,
-                                 int         position);
+void adw_tab_view_detach_page (AdwTabView *self,
+                               AdwTabPage *page);
+void adw_tab_view_attach_page (AdwTabView *self,
+                               AdwTabPage *page,
+                               int         position);
 
 AdwTabView *adw_tab_view_create_window (AdwTabView *self);
 
diff --git a/src/adw-tab-view.h b/src/adw-tab-view.h
index 2268dce9..d140bf7f 100644
--- a/src/adw-tab-view.h
+++ b/src/adw-tab-view.h
@@ -42,10 +42,10 @@ void        adw_tab_page_set_title (AdwTabPage *self,
                                     const char *title);
 
 ADW_AVAILABLE_IN_ALL
-const char *adw_tab_page_get_tooltip (AdwTabPage  *self);
+const char *adw_tab_page_get_tooltip (AdwTabPage *self);
 ADW_AVAILABLE_IN_ALL
-void        adw_tab_page_set_tooltip (AdwTabPage  *self,
-                                       const char *tooltip);
+void        adw_tab_page_set_tooltip (AdwTabPage *self,
+                                      const char *tooltip);
 
 ADW_AVAILABLE_IN_ALL
 GIcon *adw_tab_page_get_icon (AdwTabPage *self);
@@ -86,7 +86,7 @@ ADW_AVAILABLE_IN_ALL
 AdwTabView *adw_tab_view_new (void);
 
 ADW_AVAILABLE_IN_ALL
-int adw_tab_view_get_n_pages (AdwTabView *self);
+int adw_tab_view_get_n_pages        (AdwTabView *self);
 ADW_AVAILABLE_IN_ALL
 int adw_tab_view_get_n_pinned_pages (AdwTabView *self);
 
diff --git a/src/adw-value-object.h b/src/adw-value-object.h
index 8e5284fe..e36e8fb9 100644
--- a/src/adw-value-object.h
+++ b/src/adw-value-object.h
@@ -33,13 +33,14 @@ ADW_AVAILABLE_IN_ALL
 AdwValueObject *adw_value_object_new_take_string (char         *string);
 
 ADW_AVAILABLE_IN_ALL
-const GValue*   adw_value_object_get_value  (AdwValueObject *value);
+const GValue *adw_value_object_get_value  (AdwValueObject *value);
 ADW_AVAILABLE_IN_ALL
-void            adw_value_object_copy_value (AdwValueObject *value,
-                                             GValue         *dest);
+void          adw_value_object_copy_value (AdwValueObject *value,
+                                           GValue         *dest);
+
 ADW_AVAILABLE_IN_ALL
-const char*     adw_value_object_get_string (AdwValueObject *value);
+const char *adw_value_object_get_string (AdwValueObject *value);
 ADW_AVAILABLE_IN_ALL
-char*           adw_value_object_dup_string (AdwValueObject *value);
+char       *adw_value_object_dup_string (AdwValueObject *value);
 
 G_END_DECLS
diff --git a/src/adw-view-switcher-title.h b/src/adw-view-switcher-title.h
index 61ace6e4..735f4b81 100644
--- a/src/adw-view-switcher-title.h
+++ b/src/adw-view-switcher-title.h
@@ -28,7 +28,7 @@ ADW_AVAILABLE_IN_ALL
 GtkWidget *adw_view_switcher_title_new (void);
 
 ADW_AVAILABLE_IN_ALL
-AdwViewSwitcherPolicy adw_view_switcher_title_get_policy (AdwViewSwitcherTitle *self);
+AdwViewSwitcherPolicy adw_view_switcher_title_get_policy (AdwViewSwitcherTitle  *self);
 ADW_AVAILABLE_IN_ALL
 void                  adw_view_switcher_title_set_policy (AdwViewSwitcherTitle  *self,
                                                           AdwViewSwitcherPolicy  policy);
@@ -40,16 +40,16 @@ void      adw_view_switcher_title_set_stack (AdwViewSwitcherTitle *self,
                                              GtkStack             *stack);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_view_switcher_title_get_title (AdwViewSwitcherTitle *self);
+const char *adw_view_switcher_title_get_title (AdwViewSwitcherTitle *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_view_switcher_title_set_title (AdwViewSwitcherTitle *self,
-                                                const char           *title);
+void        adw_view_switcher_title_set_title (AdwViewSwitcherTitle *self,
+                                               const char           *title);
 
 ADW_AVAILABLE_IN_ALL
-const char  *adw_view_switcher_title_get_subtitle (AdwViewSwitcherTitle *self);
+const char *adw_view_switcher_title_get_subtitle (AdwViewSwitcherTitle *self);
 ADW_AVAILABLE_IN_ALL
-void         adw_view_switcher_title_set_subtitle (AdwViewSwitcherTitle *self,
-                                                   const char           *subtitle);
+void        adw_view_switcher_title_set_subtitle (AdwViewSwitcherTitle *self,
+                                                  const char           *subtitle);
 
 ADW_AVAILABLE_IN_ALL
 gboolean adw_view_switcher_title_get_view_switcher_enabled (AdwViewSwitcherTitle *self);
diff --git a/src/adw-view-switcher.h b/src/adw-view-switcher.h
index 4bb5c96c..26dd447e 100644
--- a/src/adw-view-switcher.h
+++ b/src/adw-view-switcher.h
@@ -32,13 +32,13 @@ ADW_AVAILABLE_IN_ALL
 GtkWidget *adw_view_switcher_new (void);
 
 ADW_AVAILABLE_IN_ALL
-AdwViewSwitcherPolicy adw_view_switcher_get_policy (AdwViewSwitcher *self);
+AdwViewSwitcherPolicy adw_view_switcher_get_policy (AdwViewSwitcher       *self);
 ADW_AVAILABLE_IN_ALL
 void                  adw_view_switcher_set_policy (AdwViewSwitcher       *self,
                                                     AdwViewSwitcherPolicy  policy);
 
 ADW_AVAILABLE_IN_ALL
-PangoEllipsizeMode adw_view_switcher_get_narrow_ellipsize (AdwViewSwitcher *self);
+PangoEllipsizeMode adw_view_switcher_get_narrow_ellipsize (AdwViewSwitcher    *self);
 ADW_AVAILABLE_IN_ALL
 void               adw_view_switcher_set_narrow_ellipsize (AdwViewSwitcher    *self,
                                                            PangoEllipsizeMode  mode);
diff --git a/src/adw-window-mixin-private.h b/src/adw-window-mixin-private.h
index 68b9d15e..db6c670f 100644
--- a/src/adw-window-mixin-private.h
+++ b/src/adw-window-mixin-private.h
@@ -21,13 +21,13 @@ G_DECLARE_FINAL_TYPE (AdwWindowMixin, adw_window_mixin, ADW, WINDOW_MIXIN, GObje
 AdwWindowMixin *adw_window_mixin_new (GtkWindow      *window,
                                       GtkWindowClass *klass);
 
-void            adw_window_mixin_size_allocate (AdwWindowMixin *self,
-                                                int             width,
-                                                int             height,
-                                                int             baseline);
-
-void            adw_window_mixin_set_child (AdwWindowMixin *self,
-                                            GtkWidget      *child);
-GtkWidget      *adw_window_mixin_get_child (AdwWindowMixin *self);
+void adw_window_mixin_size_allocate (AdwWindowMixin *self,
+                                     int             width,
+                                     int             height,
+                                     int             baseline);
+
+GtkWidget *adw_window_mixin_get_child (AdwWindowMixin *self);
+void       adw_window_mixin_set_child (AdwWindowMixin *self,
+                                       GtkWidget      *child);
 
 G_END_DECLS
diff --git a/src/adw-window-title.h b/src/adw-window-title.h
index 81e70116..ce778f64 100644
--- a/src/adw-window-title.h
+++ b/src/adw-window-title.h
@@ -22,19 +22,19 @@ ADW_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (AdwWindowTitle, adw_window_title, ADW, WINDOW_TITLE, GtkWidget)
 
 ADW_AVAILABLE_IN_ALL
-GtkWidget  *adw_window_title_new          (const char     *title,
-                                           const char     *subtitle);
+GtkWidget *adw_window_title_new (const char *title,
+                                 const char *subtitle);
 
 ADW_AVAILABLE_IN_ALL
-void        adw_window_title_set_title    (AdwWindowTitle *self,
-                                           const char     *title);
+const char *adw_window_title_get_title (AdwWindowTitle *self);
 ADW_AVAILABLE_IN_ALL
-const char *adw_window_title_get_title    (AdwWindowTitle *self);
+void        adw_window_title_set_title (AdwWindowTitle *self,
+                                        const char     *title);
 
+ADW_AVAILABLE_IN_ALL
+const char *adw_window_title_get_subtitle (AdwWindowTitle *self);
 ADW_AVAILABLE_IN_ALL
 void        adw_window_title_set_subtitle (AdwWindowTitle *self,
                                            const char     *subtitle);
-ADW_AVAILABLE_IN_ALL
-const char *adw_window_title_get_subtitle (AdwWindowTitle *self);
 
 G_END_DECLS
diff --git a/src/adw-window.h b/src/adw-window.h
index 00afcd39..516d6cd6 100644
--- a/src/adw-window.h
+++ b/src/adw-window.h
@@ -32,10 +32,10 @@ struct _AdwWindowClass
 ADW_AVAILABLE_IN_ALL
 GtkWidget *adw_window_new (void);
 
+ADW_AVAILABLE_IN_ALL
+GtkWidget *adw_window_get_child (AdwWindow *self);
 ADW_AVAILABLE_IN_ALL
 void       adw_window_set_child (AdwWindow *self,
                                  GtkWidget *child);
-ADW_AVAILABLE_IN_ALL
-GtkWidget *adw_window_get_child (AdwWindow *self);
 
 G_END_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]