[libadwaita/wip/exalm/properties: 4/5] Fix property indentation
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/properties: 4/5] Fix property indentation
- Date: Mon, 20 Jun 2022 21:54:51 +0000 (UTC)
commit cd659fba17b3a19894ea3e203b29c3bede8def2f
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Jun 21 00:14:36 2022 +0400
Fix property indentation
src/adw-action-row.c | 10 ++++-----
src/adw-bin.c | 10 ++++-----
src/adw-button-content.c | 20 +++++++++---------
src/adw-clamp-layout.c | 20 +++++++++---------
src/adw-clamp-scrollable.c | 30 +++++++++++++-------------
src/adw-clamp.c | 30 +++++++++++++-------------
src/adw-indicator-bin.c | 10 ++++-----
src/adw-leaflet.c | 40 +++++++++++++++++------------------
src/adw-preferences-window.c | 30 +++++++++++++-------------
src/adw-toast-overlay.c | 10 ++++-----
src/adw-toast-widget.c | 10 ++++-----
src/adw-view-stack.c | 50 ++++++++++++++++++++++----------------------
12 files changed, 135 insertions(+), 135 deletions(-)
---
diff --git a/src/adw-action-row.c b/src/adw-action-row.c
index afce4aba..0ea4a363 100644
--- a/src/adw-action-row.c
+++ b/src/adw-action-row.c
@@ -257,11 +257,11 @@ adw_action_row_class_init (AdwActionRowClass *klass)
* Since: 1.0
*/
props[PROP_ACTIVATABLE_WIDGET] =
- g_param_spec_object ("activatable-widget",
- "Activatable widget",
- "The widget to be activated when the row is activated",
- GTK_TYPE_WIDGET,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_object ("activatable-widget",
+ "Activatable widget",
+ "The widget to be activated when the row is activated",
+ GTK_TYPE_WIDGET,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwActionRow:subtitle: (attributes org.gtk.Property.get=adw_action_row_get_subtitle
org.gtk.Property.set=adw_action_row_set_subtitle)
diff --git a/src/adw-bin.c b/src/adw-bin.c
index d19eba77..f2736528 100644
--- a/src/adw-bin.c
+++ b/src/adw-bin.c
@@ -116,11 +116,11 @@ adw_bin_class_init (AdwBinClass *klass)
* Since: 1.0
*/
props[PROP_CHILD] =
- g_param_spec_object ("child",
- "Child",
- "The child widget",
- GTK_TYPE_WIDGET,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_object ("child",
+ "Child",
+ "The child widget",
+ GTK_TYPE_WIDGET,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_properties (object_class, LAST_PROP, props);
diff --git a/src/adw-button-content.c b/src/adw-button-content.c
index 6e209279..36373c47 100644
--- a/src/adw-button-content.c
+++ b/src/adw-button-content.c
@@ -221,11 +221,11 @@ adw_button_content_class_init (AdwButtonContentClass *klass)
* Since: 1.0
*/
props[PROP_ICON_NAME] =
- g_param_spec_string ("icon-name",
- "Icon name",
- "The name of the displayed icon",
- "",
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_string ("icon-name",
+ "Icon name",
+ "The name of the displayed icon",
+ "",
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwButtonContent:label: (attributes org.gtk.Property.get=adw_button_content_get_label
org.gtk.Property.set=adw_button_content_set_label)
@@ -235,11 +235,11 @@ adw_button_content_class_init (AdwButtonContentClass *klass)
* Since: 1.0
*/
props[PROP_LABEL] =
- g_param_spec_string ("label",
- "Label",
- "The displayed label",
- "",
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_string ("label",
+ "Label",
+ "The displayed label",
+ "",
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwButtonContent:use-underline: (attributes org.gtk.Property.get=adw_button_content_get_use_underline
org.gtk.Property.set=adw_button_content_set_use_underline)
diff --git a/src/adw-clamp-layout.c b/src/adw-clamp-layout.c
index eae30c67..39fab06a 100644
--- a/src/adw-clamp-layout.c
+++ b/src/adw-clamp-layout.c
@@ -353,11 +353,11 @@ adw_clamp_layout_class_init (AdwClampLayoutClass *klass)
* Since: 1.0
*/
props[PROP_MAXIMUM_SIZE] =
- g_param_spec_int ("maximum-size",
- "Maximum size",
- "The maximum size allocated to the child",
- 0, G_MAXINT, 600,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_int ("maximum-size",
+ "Maximum size",
+ "The maximum size allocated to the child",
+ 0, G_MAXINT, 600,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwClampLayout:tightening-threshold: (attributes
org.gtk.Property.get=adw_clamp_layout_get_tightening_threshold
org.gtk.Property.set=adw_clamp_layout_set_tightening_threshold)
@@ -380,11 +380,11 @@ adw_clamp_layout_class_init (AdwClampLayoutClass *klass)
* Since: 1.0
*/
props[PROP_TIGHTENING_THRESHOLD] =
- g_param_spec_int ("tightening-threshold",
- "Tightening threshold",
- "The size above which the children are clamped",
- 0, G_MAXINT, 400,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_int ("tightening-threshold",
+ "Tightening threshold",
+ "The size above which the children are clamped",
+ 0, G_MAXINT, 400,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_properties (object_class, LAST_PROP, props);
}
diff --git a/src/adw-clamp-scrollable.c b/src/adw-clamp-scrollable.c
index 3b0c52ca..f9387999 100644
--- a/src/adw-clamp-scrollable.c
+++ b/src/adw-clamp-scrollable.c
@@ -261,11 +261,11 @@ adw_clamp_scrollable_class_init (AdwClampScrollableClass *klass)
* Since: 1.0
*/
props[PROP_CHILD] =
- g_param_spec_object ("child",
- "Child",
- "The child widget",
- GTK_TYPE_WIDGET,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_object ("child",
+ "Child",
+ "The child widget",
+ GTK_TYPE_WIDGET,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwClampScrollable:maximum-size: (attributes org.gtk.Property.get=adw_clamp_scrollable_get_maximum_size
org.gtk.Property.set=adw_clamp_scrollable_set_maximum_size)
@@ -277,11 +277,11 @@ adw_clamp_scrollable_class_init (AdwClampScrollableClass *klass)
* Since: 1.0
*/
props[PROP_MAXIMUM_SIZE] =
- g_param_spec_int ("maximum-size",
- "Maximum size",
- "The maximum size allocated to the child",
- 0, G_MAXINT, 600,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_int ("maximum-size",
+ "Maximum size",
+ "The maximum size allocated to the child",
+ 0, G_MAXINT, 600,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwClampScrollable:tightening-threshold: (attributes
org.gtk.Property.get=adw_clamp_scrollable_get_tightening_threshold
org.gtk.Property.set=adw_clamp_scrollable_set_tightening_threshold)
@@ -304,11 +304,11 @@ adw_clamp_scrollable_class_init (AdwClampScrollableClass *klass)
* Since: 1.0
*/
props[PROP_TIGHTENING_THRESHOLD] =
- g_param_spec_int ("tightening-threshold",
- "Tightening threshold",
- "The size from which the clamp will tighten its grip on the child",
- 0, G_MAXINT, 400,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_int ("tightening-threshold",
+ "Tightening threshold",
+ "The size from which the clamp will tighten its grip on the child",
+ 0, G_MAXINT, 400,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_properties (object_class, LAST_PROP, props);
diff --git a/src/adw-clamp.c b/src/adw-clamp.c
index 790e51fe..e1858826 100644
--- a/src/adw-clamp.c
+++ b/src/adw-clamp.c
@@ -177,11 +177,11 @@ adw_clamp_class_init (AdwClampClass *klass)
* Since: 1.0
*/
props[PROP_CHILD] =
- g_param_spec_object ("child",
- "Child",
- "The child widget",
- GTK_TYPE_WIDGET,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_object ("child",
+ "Child",
+ "The child widget",
+ GTK_TYPE_WIDGET,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwClamp:maximum-size: (attributes org.gtk.Property.get=adw_clamp_get_maximum_size
org.gtk.Property.set=adw_clamp_set_maximum_size)
@@ -193,11 +193,11 @@ adw_clamp_class_init (AdwClampClass *klass)
* Since: 1.0
*/
props[PROP_MAXIMUM_SIZE] =
- g_param_spec_int ("maximum-size",
- "Maximum size",
- "The maximum size allocated to the child",
- 0, G_MAXINT, 600,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_int ("maximum-size",
+ "Maximum size",
+ "The maximum size allocated to the child",
+ 0, G_MAXINT, 600,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwClamp:tightening-threshold: (attributes org.gtk.Property.get=adw_clamp_get_tightening_threshold
org.gtk.Property.set=adw_clamp_set_tightening_threshold)
@@ -220,11 +220,11 @@ adw_clamp_class_init (AdwClampClass *klass)
* Since: 1.0
*/
props[PROP_TIGHTENING_THRESHOLD] =
- g_param_spec_int ("tightening-threshold",
- "Tightening threshold",
- "The size above which the child is clamped",
- 0, G_MAXINT, 400,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_int ("tightening-threshold",
+ "Tightening threshold",
+ "The size above which the child is clamped",
+ 0, G_MAXINT, 400,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_properties (object_class, LAST_PROP, props);
diff --git a/src/adw-indicator-bin.c b/src/adw-indicator-bin.c
index 8981e90b..174bfe2c 100644
--- a/src/adw-indicator-bin.c
+++ b/src/adw-indicator-bin.c
@@ -301,11 +301,11 @@ adw_indicator_bin_class_init (AdwIndicatorBinClass *klass)
* Since: 1.0
*/
props[PROP_CHILD] =
- g_param_spec_object ("child",
- "Child",
- "The child widget",
- GTK_TYPE_WIDGET,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_object ("child",
+ "Child",
+ "The child widget",
+ GTK_TYPE_WIDGET,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwIndicatorBin:needs-attention:
diff --git a/src/adw-leaflet.c b/src/adw-leaflet.c
index bc80166d..01192b18 100644
--- a/src/adw-leaflet.c
+++ b/src/adw-leaflet.c
@@ -2340,11 +2340,11 @@ adw_leaflet_class_init (AdwLeafletClass *klass)
* Since: 1.0
*/
props[PROP_CHILD_TRANSITION_RUNNING] =
- g_param_spec_boolean ("child-transition-running",
- "Child transition running",
- "Whether a child transition is currently running",
- FALSE,
- G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
+ g_param_spec_boolean ("child-transition-running",
+ "Child transition running",
+ "Whether a child transition is currently running",
+ FALSE,
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
/**
* AdwLeaflet:can-navigate-back: (attributes org.gtk.Property.get=adw_leaflet_get_can_navigate_back
org.gtk.Property.set=adw_leaflet_set_can_navigate_back)
@@ -2370,11 +2370,11 @@ adw_leaflet_class_init (AdwLeafletClass *klass)
* Since: 1.0
*/
props[PROP_CAN_NAVIGATE_BACK] =
- g_param_spec_boolean ("can-navigate-back",
- "Can navigate back",
- "Whether gestures and shortcuts for navigating backward are enabled",
- FALSE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_boolean ("can-navigate-back",
+ "Can navigate back",
+ "Whether gestures and shortcuts for navigating backward are enabled",
+ FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwLeaflet:can-navigate-forward: (attributes org.gtk.Property.get=adw_leaflet_get_can_navigate_forward
org.gtk.Property.set=adw_leaflet_set_can_navigate_forward)
@@ -2400,11 +2400,11 @@ adw_leaflet_class_init (AdwLeafletClass *klass)
* Since: 1.0
*/
props[PROP_CAN_NAVIGATE_FORWARD] =
- g_param_spec_boolean ("can-navigate-forward",
- "Can navigate forward",
- "Whether gestures and shortcuts for navigating forward are enabled",
- FALSE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_boolean ("can-navigate-forward",
+ "Can navigate forward",
+ "Whether gestures and shortcuts for navigating forward are enabled",
+ FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwLeaflet:can-unfold: (attributes org.gtk.Property.get=adw_leaflet_get_can_unfold
org.gtk.Property.set=adw_leaflet_set_can_unfold)
@@ -2414,11 +2414,11 @@ adw_leaflet_class_init (AdwLeafletClass *klass)
* Since: 1.0
*/
props[PROP_CAN_UNFOLD] =
- g_param_spec_boolean ("can-unfold",
- "Can unfold",
- "Whether or not the leaflet can unfold",
- TRUE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_boolean ("can-unfold",
+ "Can unfold",
+ "Whether or not the leaflet can unfold",
+ TRUE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwLeaflet:pages: (attributes org.gtk.Property.get=adw_leaflet_get_pages)
diff --git a/src/adw-preferences-window.c b/src/adw-preferences-window.c
index 53003f8d..32ad5fef 100644
--- a/src/adw-preferences-window.c
+++ b/src/adw-preferences-window.c
@@ -557,11 +557,11 @@ adw_preferences_window_class_init (AdwPreferencesWindowClass *klass)
* Since: 1.0
*/
props[PROP_VISIBLE_PAGE] =
- g_param_spec_object ("visible-page",
- "Visible page",
- "The currently visible page",
- GTK_TYPE_WIDGET,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_object ("visible-page",
+ "Visible page",
+ "The currently visible page",
+ GTK_TYPE_WIDGET,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwViewStack:visible-page-name: (attributes
org.gtk.Property.get=adw_preferences_window_get_visible_page_name
org.gtk.Property.set=adw_preferences_window_set_visible_page_name)
@@ -573,11 +573,11 @@ adw_preferences_window_class_init (AdwPreferencesWindowClass *klass)
* Since: 1.0
*/
props[PROP_VISIBLE_PAGE_NAME] =
- g_param_spec_string ("visible-page-name",
- "Name of visible page",
- "The name of the currently visible page",
- NULL,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_string ("visible-page-name",
+ "Name of visible page",
+ "The name of the currently visible page",
+ NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwPreferencesWindow:search-enabled: (attributes
org.gtk.Property.get=adw_preferences_window_get_search_enabled
org.gtk.Property.set=adw_preferences_window_set_search_enabled)
@@ -612,11 +612,11 @@ adw_preferences_window_class_init (AdwPreferencesWindowClass *klass)
* Since: 1.0
*/
props[PROP_CAN_NAVIGATE_BACK] =
- g_param_spec_boolean ("can-navigate-back",
- "Can navigate back",
- "Whether gestures and shortcuts for closing subpages are enabled",
- FALSE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_boolean ("can-navigate-back",
+ "Can navigate back",
+ "Whether gestures and shortcuts for closing subpages are enabled",
+ FALSE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_properties (object_class, LAST_PROP, props);
diff --git a/src/adw-toast-overlay.c b/src/adw-toast-overlay.c
index 9c3348d9..1ecfaf05 100644
--- a/src/adw-toast-overlay.c
+++ b/src/adw-toast-overlay.c
@@ -452,11 +452,11 @@ adw_toast_overlay_class_init (AdwToastOverlayClass *klass)
* Since: 1.0
*/
props[PROP_CHILD] =
- g_param_spec_object ("child",
- "Child",
- "The child widget",
- GTK_TYPE_WIDGET,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_object ("child",
+ "Child",
+ "The child widget",
+ GTK_TYPE_WIDGET,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_properties (object_class, LAST_PROP, props);
diff --git a/src/adw-toast-widget.c b/src/adw-toast-widget.c
index 775b5e3e..1cc2e71b 100644
--- a/src/adw-toast-widget.c
+++ b/src/adw-toast-widget.c
@@ -227,11 +227,11 @@ adw_toast_widget_class_init (AdwToastWidgetClass *klass)
object_class->set_property = adw_toast_widget_set_property;
props[PROP_TOAST] =
- g_param_spec_object ("toast",
- "Toast",
- "The displayed toast",
- ADW_TYPE_TOAST,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ g_param_spec_object ("toast",
+ "Toast",
+ "The displayed toast",
+ ADW_TYPE_TOAST,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, LAST_PROP, props);
diff --git a/src/adw-view-stack.c b/src/adw-view-stack.c
index c4eafaf9..25e946d9 100644
--- a/src/adw-view-stack.c
+++ b/src/adw-view-stack.c
@@ -921,11 +921,11 @@ adw_view_stack_class_init (AdwViewStackClass *klass)
* Since: 1.0
*/
props[PROP_HHOMOGENEOUS] =
- g_param_spec_boolean ("hhomogeneous",
- "Horizontally homogeneous",
- "Whether the stack allocates the same width for all children",
- TRUE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_boolean ("hhomogeneous",
+ "Horizontally homogeneous",
+ "Whether the stack allocates the same width for all children",
+ TRUE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwViewStack:vhomogeneous: (attributes org.gtk.Property.get=adw_view_stack_get_vhomogeneous
org.gtk.Property.set=adw_view_stack_set_vhomogeneous)
@@ -938,11 +938,11 @@ adw_view_stack_class_init (AdwViewStackClass *klass)
* Since: 1.0
*/
props[PROP_VHOMOGENEOUS] =
- g_param_spec_boolean ("vhomogeneous",
- "Vertically homogeneous",
- "Whether the stack allocates the same height for all children",
- TRUE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_boolean ("vhomogeneous",
+ "Vertically homogeneous",
+ "Whether the stack allocates the same height for all children",
+ TRUE,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwViewStack:visible-child: (attributes org.gtk.Property.get=adw_view_stack_get_visible_child
org.gtk.Property.set=adw_view_stack_set_visible_child)
@@ -952,11 +952,11 @@ adw_view_stack_class_init (AdwViewStackClass *klass)
* Since: 1.0
*/
props[PROP_VISIBLE_CHILD] =
- g_param_spec_object ("visible-child",
- "Visible child",
- "The widget currently visible in the stack",
- GTK_TYPE_WIDGET,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_object ("visible-child",
+ "Visible child",
+ "The widget currently visible in the stack",
+ GTK_TYPE_WIDGET,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwViewStack:visible-child-name: (attributes org.gtk.Property.get=adw_view_stack_get_visible_child_name
org.gtk.Property.set=adw_view_stack_set_visible_child_name)
@@ -968,11 +968,11 @@ adw_view_stack_class_init (AdwViewStackClass *klass)
* Since: 1.0
*/
props[PROP_VISIBLE_CHILD_NAME] =
- g_param_spec_string ("visible-child-name",
- "Name of visible child",
- "The name of the widget currently visible in the stack",
- NULL,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
+ g_param_spec_string ("visible-child-name",
+ "Name of visible child",
+ "The name of the widget currently visible in the stack",
+ NULL,
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
/**
* AdwViewStack:pages: (attributes org.gtk.Property.get=adw_view_stack_get_pages)
@@ -984,11 +984,11 @@ adw_view_stack_class_init (AdwViewStackClass *klass)
* page.
*/
props[PROP_PAGES] =
- g_param_spec_object ("pages",
- "Pages",
- "A selection model with the stack's pages",
- GTK_TYPE_SELECTION_MODEL,
- G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
+ g_param_spec_object ("pages",
+ "Pages",
+ "A selection model with the stack's pages",
+ GTK_TYPE_SELECTION_MODEL,
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, LAST_PROP, props);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]