misc: Drop remaining nick/blurbs

Those were added again after we dropped their usage in the codebase

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3498>
This commit is contained in:
Bilal Elmoussaoui 2024-01-07 21:27:46 +01:00 committed by Marge Bot
parent 51904d1ec3
commit 9e4d1f51ee
6 changed files with 10 additions and 30 deletions

View File

@ -357,9 +357,7 @@ meta_barrier_class_init (MetaBarrierClass *klass)
G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS);
obj_props[PROP_FLAGS] =
g_param_spec_flags ("flags",
"Flags",
"Flags for manipulating barrier behavior",
g_param_spec_flags ("flags", NULL, NULL,
META_TYPE_BARRIER_FLAGS,
META_BARRIER_FLAG_NONE,
G_PARAM_READWRITE |

View File

@ -247,17 +247,13 @@ meta_thread_impl_class_init (MetaThreadImplClass *klass)
object_class->finalize = meta_thread_impl_finalize;
obj_props[PROP_THREAD] =
g_param_spec_object ("thread",
"thread",
"MetaThread",
g_param_spec_object ("thread", NULL, NULL,
META_TYPE_THREAD,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS);
obj_props[PROP_MAIN_CONTEXT] =
g_param_spec_boxed ("main-context",
"main-context",
"GMainContext",
g_param_spec_boxed ("main-context", NULL, NULL,
G_TYPE_MAIN_CONTEXT,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT |

View File

@ -708,27 +708,21 @@ meta_thread_class_init (MetaThreadClass *klass)
object_class->finalize = meta_thread_finalize;
obj_props[PROP_BACKEND] =
g_param_spec_object ("backend",
"backend",
"MetaBackend",
g_param_spec_object ("backend", NULL, NULL,
META_TYPE_BACKEND,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS);
obj_props[PROP_NAME] =
g_param_spec_string ("name",
"name",
"Name of thread",
g_param_spec_string ("name", NULL, NULL,
NULL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS);
obj_props[PROP_THREAD_TYPE] =
g_param_spec_enum ("thread-type",
"thread-type",
"Type of thread",
g_param_spec_enum ("thread-type", NULL, NULL,
META_TYPE_THREAD_TYPE,
META_THREAD_TYPE_KERNEL,
G_PARAM_READWRITE |
@ -736,9 +730,7 @@ meta_thread_class_init (MetaThreadClass *klass)
G_PARAM_STATIC_STRINGS);
obj_props[PROP_WANTS_REALTIME] =
g_param_spec_boolean ("wants-realtime",
"wants-realtime",
"Wants real-time thread scheduling",
g_param_spec_boolean ("wants-realtime", NULL, NULL,
FALSE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY |

View File

@ -274,9 +274,7 @@ meta_surface_actor_class_init (MetaSurfaceActorClass *klass)
actor_class->get_paint_volume = meta_surface_actor_get_paint_volume;
obj_props[PROP_IS_OBSCURED] =
g_param_spec_boolean ("is-obscured",
"is obscured",
"If the surface actor is fully obscured",
g_param_spec_boolean ("is-obscured", NULL, NULL,
TRUE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, N_PROPS, obj_props);

View File

@ -211,9 +211,7 @@ meta_window_actor_class_init (MetaWindowActorClass *klass)
G_TYPE_NONE, 0);
obj_props[PROP_META_WINDOW] =
g_param_spec_object ("meta-window",
"MetaWindow",
"The displayed MetaWindow",
g_param_spec_object ("meta-window", NULL, NULL,
META_TYPE_WINDOW,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_properties (object_class, N_PROPS, obj_props);

View File

@ -609,9 +609,7 @@ meta_window_class_init (MetaWindowClass *klass)
* MetaWindow::suspend-state: (skip)
*/
obj_props[PROP_SUSPEND_STATE] =
g_param_spec_enum ("suspend-state",
"Suspend state",
"The suspend state of the window",
g_param_spec_enum ("suspend-state", NULL, NULL,
META_TYPE_WINDOW_SUSPEND_STATE,
META_WINDOW_SUSPEND_STATE_SUSPENDED,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);