[libadwaita/wip/exalm/avatar-paintable: 206/209] avatar: Move the size property to the bottom
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/avatar-paintable: 206/209] avatar: Move the size property to the bottom
- Date: Tue, 25 May 2021 09:46:38 +0000 (UTC)
commit f4ef16b4fd82f4febb1c0e3aa75c87231836d4ea
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 d1b7adee..2352048a 100644
--- a/src/adw-avatar.c
+++ b/src/adw-avatar.c
@@ -350,20 +350,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: (attributes org.gtk.Property.get=adw_avatar_get_size
org.gtk.Property.set=adw_avatar_set_size)
- *
- * The 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: (attributes org.gtk.Property.get=adw_avatar_get_icon_name
org.gtk.Property.set=adw_avatar_set_icon_name)
*
@@ -413,6 +399,20 @@ adw_avatar_class_init (AdwAvatarClass *klass)
FALSE,
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
+ /**
+ * AdwAvatar:size: (attributes org.gtk.Property.get=adw_avatar_get_size
org.gtk.Property.set=adw_avatar_set_size)
+ *
+ * The 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]