[libadwaita/wip/exalm/avatar-paintable: 4/5] avatar: Move the size property to the bottom




commit 24590ee79ba14c83be160270ae341f09b4ca28ba
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Apr 26 14:35:45 2021 +0500

    avatar: Move the size property to the bottom
    
    Match the order elsewhere.

 src/adw-avatar.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/adw-avatar.c b/src/adw-avatar.c
index a954ca9..3eaa201 100644
--- a/src/adw-avatar.c
+++ b/src/adw-avatar.c
@@ -372,20 +372,6 @@ adw_avatar_class_init (AdwAvatarClass *klass)
   object_class->set_property = adw_avatar_set_property;
   object_class->get_property = adw_avatar_get_property;
 
-  /**
-   * AdwAvatar:size:
-   *
-   * The avatar size of the avatar.
-   *
-   * Since: 1.0
-   */
-  props[PROP_SIZE] =
-    g_param_spec_int ("size",
-                      "Size",
-                      "The size of the avatar",
-                      -1, INT_MAX, -1,
-                      G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
-
   /**
    * AdwAvatar:icon-name:
    *
@@ -434,6 +420,20 @@ adw_avatar_class_init (AdwAvatarClass *klass)
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
+  /**
+   * AdwAvatar:size:
+   *
+   * The avatar size of the avatar.
+   *
+   * Since: 1.0
+   */
+  props[PROP_SIZE] =
+    g_param_spec_int ("size",
+                      "Size",
+                      "The size of the avatar",
+                      -1, INT_MAX, -1,
+                      G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
+
   g_object_class_install_properties (object_class, PROP_LAST_PROP, props);
 
   gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BIN_LAYOUT);


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