Commit f694b0e0 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko
Browse files

Remove property nicks and blurbs

Follow GTK4.
parent cd659fba
Pipeline #410079 passed with stages
in 5 minutes and 2 seconds
......@@ -306,16 +306,12 @@ adw_demo_page_animations_class_init (AdwDemoPageAnimationsClass *klass)
object_class->get_property = adw_demo_page_animations_get_property;
props[PROP_TIMED_ANIMATION] =
g_param_spec_object ("timed-animation",
"Timed animation",
"Timed animation",
g_param_spec_object ("timed-animation", NULL, NULL,
ADW_TYPE_ANIMATION,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
props[PROP_SPRING_ANIMATION] =
g_param_spec_object ("spring-animation",
"Spring animation",
"Spring animation",
g_param_spec_object ("spring-animation", NULL, NULL,
ADW_TYPE_ANIMATION,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
......
......@@ -92,9 +92,7 @@ adw_demo_page_leaflet_class_init (AdwDemoPageLeafletClass *klass)
object_class->set_property = adw_demo_page_leaflet_set_property;
props[PROP_TRANSITION_TYPE] =
g_param_spec_enum ("transition-type",
"Transition type",
"Transition type",
g_param_spec_enum ("transition-type", NULL, NULL,
ADW_TYPE_LEAFLET_TRANSITION_TYPE,
ADW_LEAFLET_TRANSITION_TYPE_OVER,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
......
......@@ -164,16 +164,12 @@ adw_style_demo_window_class_init (AdwStyleDemoWindowClass *klass)
object_class->dispose = adw_style_demo_window_dispose;
props[PROP_DEVEL] =
g_param_spec_boolean ("devel",
"Development style",
"Development style",
g_param_spec_boolean ("devel", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
props[PROP_PROGRESS] =
g_param_spec_boolean ("progress",
"Progress",
"Progress",
g_param_spec_boolean ("progress", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
......
......@@ -235,9 +235,7 @@ adw_action_row_class_init (AdwActionRowClass *klass)
* Since: 1.0
*/
props[PROP_ICON_NAME] =
g_param_spec_string ("icon-name",
"Icon name",
"The icon name for this row",
g_param_spec_string ("icon-name", NULL, NULL,
"",
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -257,9 +255,7 @@ 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",
g_param_spec_object ("activatable-widget", NULL, NULL,
GTK_TYPE_WIDGET,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -271,9 +267,7 @@ adw_action_row_class_init (AdwActionRowClass *klass)
* Since: 1.0
*/
props[PROP_SUBTITLE] =
g_param_spec_string ("subtitle",
"Subtitle",
"The subtitle for this row",
g_param_spec_string ("subtitle", NULL, NULL,
"",
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -287,9 +281,7 @@ adw_action_row_class_init (AdwActionRowClass *klass)
* Since: 1.0
*/
props[PROP_TITLE_LINES] =
g_param_spec_int ("title-lines",
"Number of title lines",
"The desired number of title lines",
g_param_spec_int ("title-lines", NULL, NULL,
0, G_MAXINT,
0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -305,9 +297,7 @@ adw_action_row_class_init (AdwActionRowClass *klass)
* Since: 1.0
*/
props[PROP_SUBTITLE_LINES] =
g_param_spec_int ("subtitle-lines",
"Number of subtitle lines",
"The desired number of subtitle lines",
g_param_spec_int ("subtitle-lines", NULL, NULL,
0, G_MAXINT,
0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -405,9 +405,7 @@ adw_property_animation_target_class_init (AdwPropertyAnimationTargetClass *klass
* Since: 1.2
*/
property_props[PROPERTY_PROP_OBJECT] =
g_param_spec_object ("object",
"Object",
"The object whose property will be animated",
g_param_spec_object ("object", NULL, NULL,
G_TYPE_OBJECT,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
......@@ -422,9 +420,7 @@ adw_property_animation_target_class_init (AdwPropertyAnimationTargetClass *klass
* Since: 1.2
*/
property_props[PROPERTY_PROP_PROPERTY_NAME] =
g_param_spec_string ("property-name",
"Property name",
"The name of the property to be animated",
g_param_spec_string ("property-name", NULL, NULL,
NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
......@@ -439,9 +435,7 @@ adw_property_animation_target_class_init (AdwPropertyAnimationTargetClass *klass
* Since: 1.2
*/
property_props[PROPERTY_PROP_PSPEC] =
g_param_spec_param ("pspec",
"Param spec",
"The param spec of the property to be animated",
g_param_spec_param ("pspec", NULL, NULL,
G_TYPE_PARAM,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
......
......@@ -348,9 +348,7 @@ adw_animation_class_init (AdwAnimationClass *klass)
* Since: 1.0
*/
props[PROP_VALUE] =
g_param_spec_double ("value",
"Value",
"The current value of the animation",
g_param_spec_double ("value", NULL, NULL,
-G_MAXDOUBLE,
G_MAXDOUBLE,
0,
......@@ -371,9 +369,7 @@ adw_animation_class_init (AdwAnimationClass *klass)
* Since: 1.0
*/
props[PROP_WIDGET] =
g_param_spec_object ("widget",
"Widget",
"The animation widget",
g_param_spec_object ("widget", NULL, NULL,
GTK_TYPE_WIDGET,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
......@@ -385,9 +381,7 @@ adw_animation_class_init (AdwAnimationClass *klass)
* Since: 1.0
*/
props[PROP_TARGET] =
g_param_spec_object ("target",
"Target",
"The target to animate",
g_param_spec_object ("target", NULL, NULL,
ADW_TYPE_ANIMATION_TARGET,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -402,9 +396,7 @@ adw_animation_class_init (AdwAnimationClass *klass)
* Since: 1.0
*/
props[PROP_STATE] =
g_param_spec_enum ("state",
"State",
"The animation state",
g_param_spec_enum ("state", NULL, NULL,
ADW_TYPE_ANIMATION_STATE,
ADW_ANIMATION_IDLE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
......
......@@ -129,9 +129,7 @@ adw_application_window_class_init (AdwApplicationWindowClass *klass)
* Since: 1.0
*/
props[PROP_CONTENT] =
g_param_spec_object ("content",
"Content",
"The content widget",
g_param_spec_object ("content", NULL, NULL,
GTK_TYPE_WIDGET,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -235,9 +235,7 @@ adw_application_class_init (AdwApplicationClass *klass)
* Since: 1.0
*/
props[PROP_STYLE_MANAGER] =
g_param_spec_object ("style-manager",
"Style Manager",
"The default style manager",
g_param_spec_object ("style-manager", NULL, NULL,
ADW_TYPE_STYLE_MANAGER,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
......
......@@ -330,9 +330,7 @@ adw_avatar_class_init (AdwAvatarClass *klass)
* Since: 1.0
*/
props[PROP_ICON_NAME] =
g_param_spec_string ("icon-name",
"Icon name",
"The name of an icon to use as a fallback",
g_param_spec_string ("icon-name", NULL, NULL,
NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -347,9 +345,7 @@ adw_avatar_class_init (AdwAvatarClass *klass)
* Since: 1.0
*/
props[PROP_TEXT] =
g_param_spec_string ("text",
"Text",
"The text used to generate the color and the initials",
g_param_spec_string ("text", NULL, NULL,
"",
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -363,9 +359,7 @@ adw_avatar_class_init (AdwAvatarClass *klass)
* Since: 1.0
*/
props[PROP_SHOW_INITIALS] =
g_param_spec_boolean ("show-initials",
"Show initials",
"Whether initials are used instead of an icon on the fallback avatar",
g_param_spec_boolean ("show-initials", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -377,9 +371,7 @@ adw_avatar_class_init (AdwAvatarClass *klass)
* Since: 1.0
*/
props[PROP_CUSTOM_IMAGE] =
g_param_spec_object ("custom-image",
"Custom image",
"A custom image to use instead of initials or icon",
g_param_spec_object ("custom-image", NULL, NULL,
GDK_TYPE_PAINTABLE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -391,9 +383,7 @@ adw_avatar_class_init (AdwAvatarClass *klass)
* Since: 1.0
*/
props[PROP_SIZE] =
g_param_spec_int ("size",
"Size",
"The size of the avatar",
g_param_spec_int ("size", NULL, NULL,
-1, INT_MAX, -1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -116,9 +116,7 @@ adw_bin_class_init (AdwBinClass *klass)
* Since: 1.0
*/
props[PROP_CHILD] =
g_param_spec_object ("child",
"Child",
"The child widget",
g_param_spec_object ("child", NULL, NULL,
GTK_TYPE_WIDGET,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -221,9 +221,7 @@ 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_spec_string ("icon-name", NULL, NULL,
"",
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -235,9 +233,7 @@ adw_button_content_class_init (AdwButtonContentClass *klass)
* Since: 1.0
*/
props[PROP_LABEL] =
g_param_spec_string ("label",
"Label",
"The displayed label",
g_param_spec_string ("label", NULL, NULL,
"",
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -253,9 +249,7 @@ adw_button_content_class_init (AdwButtonContentClass *klass)
* Since: 1.0
*/
props[PROP_USE_UNDERLINE] =
g_param_spec_boolean ("use-underline",
"Use underline",
"Whether an underline in the text indicates a mnemonic",
g_param_spec_boolean ("use-underline", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -354,9 +354,7 @@ adw_carousel_indicator_dots_class_init (AdwCarouselIndicatorDotsClass *klass)
* Since: 1.0
*/
props[PROP_CAROUSEL] =
g_param_spec_object ("carousel",
"Carousel",
"The displayed carousel",
g_param_spec_object ("carousel", NULL, NULL,
ADW_TYPE_CAROUSEL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -339,9 +339,7 @@ adw_carousel_indicator_lines_class_init (AdwCarouselIndicatorLinesClass *klass)
* Since: 1.0
*/
props[PROP_CAROUSEL] =
g_param_spec_object ("carousel",
"Carousel",
"The displayed carousel",
g_param_spec_object ("carousel", NULL, NULL,
ADW_TYPE_CAROUSEL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -884,9 +884,7 @@ adw_carousel_class_init (AdwCarouselClass *klass)
* Since: 1.0
*/
props[PROP_N_PAGES] =
g_param_spec_uint ("n-pages",
"Number of pages",
"Number of pages",
g_param_spec_uint ("n-pages", NULL, NULL,
0,
G_MAXUINT,
0,
......@@ -902,9 +900,7 @@ adw_carousel_class_init (AdwCarouselClass *klass)
* Since: 1.0
*/
props[PROP_POSITION] =
g_param_spec_double ("position",
"Position",
"Current scrolling position",
g_param_spec_double ("position", NULL, NULL,
0,
G_MAXDOUBLE,
0,
......@@ -921,9 +917,7 @@ adw_carousel_class_init (AdwCarouselClass *klass)
* Since: 1.0
*/
props[PROP_INTERACTIVE] =
g_param_spec_boolean ("interactive",
"Interactive",
"Whether the widget can be swiped",
g_param_spec_boolean ("interactive", NULL, NULL,
TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -935,9 +929,7 @@ adw_carousel_class_init (AdwCarouselClass *klass)
* Since: 1.0
*/
props[PROP_SPACING] =
g_param_spec_uint ("spacing",
"Spacing",
"Spacing between pages",
g_param_spec_uint ("spacing", NULL, NULL,
0,
G_MAXUINT,
0,
......@@ -957,9 +949,7 @@ adw_carousel_class_init (AdwCarouselClass *klass)
* Since: 1.0
*/
props[PROP_SCROLL_PARAMS] =
g_param_spec_boxed ("scroll-params",
"Scroll Parameters",
"Scroll animation spring parameters",
g_param_spec_boxed ("scroll-params", NULL, NULL,
ADW_TYPE_SPRING_PARAMS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -973,9 +963,7 @@ adw_carousel_class_init (AdwCarouselClass *klass)
* Since: 1.0
*/
props[PROP_ALLOW_MOUSE_DRAG] =
g_param_spec_boolean ("allow-mouse-drag",
"Allow mouse drag",
"Whether to allow dragging with mouse pointer",
g_param_spec_boolean ("allow-mouse-drag", NULL, NULL,
TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -989,9 +977,7 @@ adw_carousel_class_init (AdwCarouselClass *klass)
* Since: 1.0
*/
props[PROP_ALLOW_SCROLL_WHEEL] =
g_param_spec_boolean ("allow-scroll-wheel",
"Allow scroll wheel",
"Whether the widget will respond to scroll wheel events",
g_param_spec_boolean ("allow-scroll-wheel", NULL, NULL,
TRUE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -1005,9 +991,7 @@ adw_carousel_class_init (AdwCarouselClass *klass)
* Since: 1.0
*/
props[PROP_ALLOW_LONG_SWIPES] =
g_param_spec_boolean ("allow-long-swipes",
"Allow long swipes",
"Whether to allow swiping for more than one page at a time",
g_param_spec_boolean ("allow-long-swipes", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -1019,9 +1003,7 @@ adw_carousel_class_init (AdwCarouselClass *klass)
* Since: 1.0
*/
props[PROP_REVEAL_DURATION] =
g_param_spec_uint ("reveal-duration",
"Reveal duration",
"Page reveal duration",
g_param_spec_uint ("reveal-duration", NULL, NULL,
0,
G_MAXUINT,
0,
......
......@@ -353,9 +353,7 @@ 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",
g_param_spec_int ("maximum-size", NULL, NULL,
0, G_MAXINT, 600,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -380,9 +378,7 @@ 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",
g_param_spec_int ("tightening-threshold", NULL, NULL,
0, G_MAXINT, 400,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -261,9 +261,7 @@ adw_clamp_scrollable_class_init (AdwClampScrollableClass *klass)
* Since: 1.0
*/
props[PROP_CHILD] =
g_param_spec_object ("child",
"Child",
"The child widget",
g_param_spec_object ("child", NULL, NULL,
GTK_TYPE_WIDGET,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -277,9 +275,7 @@ 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",
g_param_spec_int ("maximum-size", NULL, NULL,
0, G_MAXINT, 600,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -304,9 +300,7 @@ 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",
g_param_spec_int ("tightening-threshold", NULL, NULL,
0, G_MAXINT, 400,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -177,9 +177,7 @@ adw_clamp_class_init (AdwClampClass *klass)
* Since: 1.0
*/
props[PROP_CHILD] =
g_param_spec_object ("child",
"Child",
"The child widget",
g_param_spec_object ("child", NULL, NULL,
GTK_TYPE_WIDGET,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -193,9 +191,7 @@ 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",
g_param_spec_int ("maximum-size", NULL, NULL,
0, G_MAXINT, 600,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -220,9 +216,7 @@ 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",
g_param_spec_int ("tightening-threshold", NULL, NULL,
0, G_MAXINT, 400,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -423,9 +423,7 @@ adw_combo_row_class_init (AdwComboRowClass *klass)
* Since: 1.0
*/
props[PROP_MODEL] =
g_param_spec_object ("model",
"Model",
"Model for the displayed items",
g_param_spec_object ("model", NULL, NULL,
G_TYPE_LIST_MODEL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -440,9 +438,7 @@ adw_combo_row_class_init (AdwComboRowClass *klass)
* Since: 1.0
*/
props[PROP_SELECTED] =
g_param_spec_uint ("selected",
"Selected",
"Position of the selected item",
g_param_spec_uint ("selected", NULL, NULL,
0, G_MAXUINT, GTK_INVALID_LIST_POSITION,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -454,9 +450,7 @@ adw_combo_row_class_init (AdwComboRowClass *klass)
* Since: 1.0
*/
props[PROP_SELECTED_ITEM] =
g_param_spec_object ("selected-item",
"Selected Item",
"The selected item",
g_param_spec_object ("selected-item", NULL, NULL,
G_TYPE_OBJECT,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
......@@ -471,9 +465,7 @@ adw_combo_row_class_init (AdwComboRowClass *klass)
* Since: 1.0
*/
props[PROP_FACTORY] =
g_param_spec_object ("factory",
"Factory",
"Factory for populating list items",
g_param_spec_object ("factory", NULL, NULL,
GTK_TYPE_LIST_ITEM_FACTORY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -487,9 +479,7 @@ adw_combo_row_class_init (AdwComboRowClass *klass)
* Since: 1.0
*/
props[PROP_LIST_FACTORY] =
g_param_spec_object ("list-factory",
"List Factory",
"Factory for populating list items",
g_param_spec_object ("list-factory", NULL, NULL,
GTK_TYPE_LIST_ITEM_FACTORY,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......@@ -527,9 +517,7 @@ adw_combo_row_class_init (AdwComboRowClass *klass)
* Since: 1.0
*/
props[PROP_USE_SUBTITLE] =
g_param_spec_boolean ("use-subtitle",
"Use subtitle",
"Whether to use the current value as the subtitle",
g_param_spec_boolean ("use-subtitle", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -423,9 +423,7 @@ adw_entry_row_class_init (AdwEntryRowClass *klass)
* Since: 1.2
*/
props[PROP_SHOW_APPLY_BUTTON] =
g_param_spec_boolean ("show-apply-button",
"Show Apply Button",
"Whether to show the apply button",
g_param_spec_boolean ("show-apply-button", NULL, NULL,
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
......
......@@ -110,9 +110,7 @@ adw_enum_list_item_class_init (AdwEnumListItemClass *klass)
* Since: 1.0
*/
value_props[VALUE_PROP_VALUE] =
g_param_spec_int ("value",
"Value",
"The enum value",
g_param_spec_int ("value", NULL, NULL,
G_MININT, G_MAXINT, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
......@@ -124,9 +122,7 @@ adw_enum_list_item_class_init (AdwEnumListItemClass *klass)
* Since: 1.0
*/
value_props[VALUE_PROP_NAME] =
g_param_spec_string ("name",
"Name",
"The enum value name",
g_param_spec_string ("name", NULL, NULL,
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
......@@ -138,9 +134,7 @@ adw_enum_list_item_class_init (AdwEnumListItemClass *klass)
* Since: 1.0
*/
value_props[VALUE_PROP_NICK] =
g_param_spec_string ("nick",
"Nick",
"The enum value nick",
g_param_spec_string ("nick", NULL, NULL,
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
......@@ -292,9 +286,7 @@ adw_enum_list_model_class_init (AdwEnumListModelClass *klass)
* Since: 1.0
*/
props[PROP_ENUM_TYPE] =
g_param_spec_gtype ("enum-type",
"Enum type",
"The type of the enum represented by the model",
g_param_spec_gtype ("enum-type", NULL, NULL,
G_TYPE_ENUM,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);