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_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS); G_PARAM_STATIC_STRINGS);
obj_props[PROP_FLAGS] = obj_props[PROP_FLAGS] =
g_param_spec_flags ("flags", g_param_spec_flags ("flags", NULL, NULL,
"Flags",
"Flags for manipulating barrier behavior",
META_TYPE_BARRIER_FLAGS, META_TYPE_BARRIER_FLAGS,
META_BARRIER_FLAG_NONE, META_BARRIER_FLAG_NONE,
G_PARAM_READWRITE | G_PARAM_READWRITE |

View File

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

View File

@ -708,27 +708,21 @@ meta_thread_class_init (MetaThreadClass *klass)
object_class->finalize = meta_thread_finalize; object_class->finalize = meta_thread_finalize;
obj_props[PROP_BACKEND] = obj_props[PROP_BACKEND] =
g_param_spec_object ("backend", g_param_spec_object ("backend", NULL, NULL,
"backend",
"MetaBackend",
META_TYPE_BACKEND, META_TYPE_BACKEND,
G_PARAM_READWRITE | G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS); G_PARAM_STATIC_STRINGS);
obj_props[PROP_NAME] = obj_props[PROP_NAME] =
g_param_spec_string ("name", g_param_spec_string ("name", NULL, NULL,
"name",
"Name of thread",
NULL, NULL,
G_PARAM_READWRITE | G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS); G_PARAM_STATIC_STRINGS);
obj_props[PROP_THREAD_TYPE] = obj_props[PROP_THREAD_TYPE] =
g_param_spec_enum ("thread-type", g_param_spec_enum ("thread-type", NULL, NULL,
"thread-type",
"Type of thread",
META_TYPE_THREAD_TYPE, META_TYPE_THREAD_TYPE,
META_THREAD_TYPE_KERNEL, META_THREAD_TYPE_KERNEL,
G_PARAM_READWRITE | G_PARAM_READWRITE |
@ -736,9 +730,7 @@ meta_thread_class_init (MetaThreadClass *klass)
G_PARAM_STATIC_STRINGS); G_PARAM_STATIC_STRINGS);
obj_props[PROP_WANTS_REALTIME] = obj_props[PROP_WANTS_REALTIME] =
g_param_spec_boolean ("wants-realtime", g_param_spec_boolean ("wants-realtime", NULL, NULL,
"wants-realtime",
"Wants real-time thread scheduling",
FALSE, FALSE,
G_PARAM_READWRITE | G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY | 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; actor_class->get_paint_volume = meta_surface_actor_get_paint_volume;
obj_props[PROP_IS_OBSCURED] = obj_props[PROP_IS_OBSCURED] =
g_param_spec_boolean ("is-obscured", g_param_spec_boolean ("is-obscured", NULL, NULL,
"is obscured",
"If the surface actor is fully obscured",
TRUE, TRUE,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS); G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, N_PROPS, obj_props); 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); G_TYPE_NONE, 0);
obj_props[PROP_META_WINDOW] = obj_props[PROP_META_WINDOW] =
g_param_spec_object ("meta-window", g_param_spec_object ("meta-window", NULL, NULL,
"MetaWindow",
"The displayed MetaWindow",
META_TYPE_WINDOW, META_TYPE_WINDOW,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_properties (object_class, N_PROPS, obj_props); 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) * MetaWindow::suspend-state: (skip)
*/ */
obj_props[PROP_SUSPEND_STATE] = obj_props[PROP_SUSPEND_STATE] =
g_param_spec_enum ("suspend-state", g_param_spec_enum ("suspend-state", NULL, NULL,
"Suspend state",
"The suspend state of the window",
META_TYPE_WINDOW_SUSPEND_STATE, META_TYPE_WINDOW_SUSPEND_STATE,
META_WINDOW_SUSPEND_STATE_SUSPENDED, META_WINDOW_SUSPEND_STATE_SUSPENDED,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS); G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);