[libadwaita/wip/exalm/avatar-paintable: 205/209] avatar: Reindent the header




commit fdcbc8a7a1e800190f011f8744bb8714de9d6f7e
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Apr 26 14:31:03 2021 +0500

    avatar: Reindent the header

 src/adw-avatar.h | 51 ++++++++++++++++++++++++++++-----------------------
 1 file changed, 28 insertions(+), 23 deletions(-)
---
diff --git a/src/adw-avatar.h b/src/adw-avatar.h
index a3d474b9..e7040b60 100644
--- a/src/adw-avatar.h
+++ b/src/adw-avatar.h
@@ -37,39 +37,44 @@ G_DECLARE_FINAL_TYPE (AdwAvatar, adw_avatar, ADW, AVATAR, GtkWidget)
 typedef GdkPixbuf *(* AdwAvatarImageLoadFunc) (int      size,
                                                gpointer user_data);
 
-
 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


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