mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
cleanup: Stop translating nick/blurb for pspecs
As those strings are intended to be used by some UI but nothing uses that in reality except GStreamer. So drop them similar to what GTK did at https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4717 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3101>
This commit is contained in:

committed by
Marge Bot

parent
efe884a97f
commit
b852bbba47
@ -896,17 +896,13 @@ meta_backend_class_init (MetaBackendClass *klass)
|
||||
klass->is_headless = meta_backend_real_is_headless;
|
||||
|
||||
obj_props[PROP_CONTEXT] =
|
||||
g_param_spec_object ("context",
|
||||
"context",
|
||||
"MetaContext",
|
||||
g_param_spec_object ("context", NULL, NULL,
|
||||
META_TYPE_CONTEXT,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_CAPABILITIES] =
|
||||
g_param_spec_flags ("capabilities",
|
||||
"capabilities",
|
||||
"Backend capabilities",
|
||||
g_param_spec_flags ("capabilities", NULL, NULL,
|
||||
META_TYPE_BACKEND_CAPABILITIES,
|
||||
META_BACKEND_CAPABILITY_NONE,
|
||||
G_PARAM_READABLE |
|
||||
|
@ -308,17 +308,13 @@ meta_barrier_class_init (MetaBarrierClass *klass)
|
||||
object_class->constructed = meta_barrier_constructed;
|
||||
|
||||
obj_props[PROP_BACKEND] =
|
||||
g_param_spec_object ("backend",
|
||||
"backend",
|
||||
"The backend",
|
||||
g_param_spec_object ("backend", NULL, NULL,
|
||||
META_TYPE_BACKEND,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
"Display",
|
||||
"The display to construct the pointer barrier on",
|
||||
g_param_spec_object ("display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_DEPRECATED |
|
||||
G_PARAM_READWRITE |
|
||||
@ -326,45 +322,35 @@ meta_barrier_class_init (MetaBarrierClass *klass)
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_X1] =
|
||||
g_param_spec_int ("x1",
|
||||
"X1",
|
||||
"The first X coordinate of the barrier",
|
||||
g_param_spec_int ("x1", NULL, NULL,
|
||||
0, G_MAXSHORT, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_Y1] =
|
||||
g_param_spec_int ("y1",
|
||||
"Y1",
|
||||
"The first Y coordinate of the barrier",
|
||||
g_param_spec_int ("y1", NULL, NULL,
|
||||
0, G_MAXSHORT, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_X2] =
|
||||
g_param_spec_int ("x2",
|
||||
"X2",
|
||||
"The second X coordinate of the barrier",
|
||||
g_param_spec_int ("x2", NULL, NULL,
|
||||
0, G_MAXSHORT, G_MAXSHORT,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_Y2] =
|
||||
g_param_spec_int ("y2",
|
||||
"Y2",
|
||||
"The second Y coordinate of the barrier",
|
||||
g_param_spec_int ("y2", NULL, NULL,
|
||||
0, G_MAXSHORT, G_MAXSHORT,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_DIRECTIONS] =
|
||||
g_param_spec_flags ("directions",
|
||||
"Directions",
|
||||
"A set of directions to let the pointer through",
|
||||
g_param_spec_flags ("directions", NULL, NULL,
|
||||
META_TYPE_BARRIER_DIRECTION,
|
||||
0,
|
||||
G_PARAM_READWRITE |
|
||||
|
@ -507,9 +507,7 @@ meta_color_manager_class_init (MetaColorManagerClass *klass)
|
||||
object_class->get_property = meta_color_manager_get_property;
|
||||
|
||||
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 |
|
||||
|
@ -173,25 +173,19 @@ meta_crtc_mode_class_init (MetaCrtcModeClass *klass)
|
||||
object_class->finalize = meta_crtc_mode_finalize;
|
||||
|
||||
obj_props[PROP_ID] =
|
||||
g_param_spec_uint64 ("id",
|
||||
"id",
|
||||
"CRTC mode id",
|
||||
g_param_spec_uint64 ("id", NULL, NULL,
|
||||
0, UINT64_MAX, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_NAME] =
|
||||
g_param_spec_string ("name",
|
||||
"name",
|
||||
"Name of CRTC mode",
|
||||
g_param_spec_string ("name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_INFO] =
|
||||
g_param_spec_boxed ("info",
|
||||
"info",
|
||||
"MetaOutputInfo",
|
||||
g_param_spec_boxed ("info", NULL, NULL,
|
||||
META_TYPE_CRTC_MODE_INFO,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -377,33 +377,25 @@ meta_crtc_class_init (MetaCrtcClass *klass)
|
||||
object_class->finalize = meta_crtc_finalize;
|
||||
|
||||
obj_props[PROP_ID] =
|
||||
g_param_spec_uint64 ("id",
|
||||
"id",
|
||||
"CRTC id",
|
||||
g_param_spec_uint64 ("id", NULL, NULL,
|
||||
0, UINT64_MAX, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
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_GPU] =
|
||||
g_param_spec_object ("gpu",
|
||||
"gpu",
|
||||
"MetaGpu",
|
||||
g_param_spec_object ("gpu", NULL, NULL,
|
||||
META_TYPE_GPU,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_ALL_TRANSFORMS] =
|
||||
g_param_spec_uint ("all-transforms",
|
||||
"all-transforms",
|
||||
"All transforms",
|
||||
g_param_spec_uint ("all-transforms", NULL, NULL,
|
||||
0,
|
||||
META_MONITOR_ALL_TRANSFORMS,
|
||||
META_MONITOR_ALL_TRANSFORMS,
|
||||
|
@ -295,17 +295,13 @@ meta_cursor_renderer_class_init (MetaCursorRendererClass *klass)
|
||||
klass->update_cursor = meta_cursor_renderer_real_update_cursor;
|
||||
|
||||
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_DEVICE] =
|
||||
g_param_spec_object ("device",
|
||||
"device",
|
||||
"Input device",
|
||||
g_param_spec_object ("device", NULL, NULL,
|
||||
CLUTTER_TYPE_INPUT_DEVICE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -283,9 +283,7 @@ meta_cursor_tracker_class_init (MetaCursorTrackerClass *klass)
|
||||
meta_cursor_tracker_real_get_sprite;
|
||||
|
||||
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 |
|
||||
|
@ -315,9 +315,7 @@ meta_cursor_sprite_class_init (MetaCursorSpriteClass *klass)
|
||||
object_class->set_property = meta_cursor_tracker_set_property;
|
||||
|
||||
obj_props[PROP_CURSOR_TRACKER] =
|
||||
g_param_spec_object ("cursor-tracker",
|
||||
"cursor tracker",
|
||||
"MetaCursorTracker",
|
||||
g_param_spec_object ("cursor-tracker", NULL, NULL,
|
||||
META_TYPE_CURSOR_TRACKER,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -231,41 +231,31 @@ meta_dbus_session_manager_class_init (MetaDbusSessionManagerClass *klass)
|
||||
object_class->get_property = meta_dbus_session_manager_get_property;
|
||||
|
||||
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_SERVICE_NAME] =
|
||||
g_param_spec_string ("service-name",
|
||||
"service name",
|
||||
"Service name",
|
||||
g_param_spec_string ("service-name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_SERVICE_PATH] =
|
||||
g_param_spec_string ("service-path",
|
||||
"service path",
|
||||
"Service path",
|
||||
g_param_spec_string ("service-path", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_SESSION_GTYPE] =
|
||||
g_param_spec_gtype ("session-gtype",
|
||||
"session gtype",
|
||||
"GType to construct for a session",
|
||||
g_param_spec_gtype ("session-gtype", NULL, NULL,
|
||||
G_TYPE_NONE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_INTERFACE_SKELETON] =
|
||||
g_param_spec_object ("interface-skeleton",
|
||||
"interface skeleton",
|
||||
"GDBusInterfaceSkeleton",
|
||||
g_param_spec_object ("interface-skeleton", NULL, NULL,
|
||||
G_TYPE_DBUS_INTERFACE_SKELETON,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -208,27 +208,21 @@ meta_dbus_session_default_init (MetaDbusSessionInterface *iface)
|
||||
{
|
||||
g_object_interface_install_property (
|
||||
iface,
|
||||
g_param_spec_object ("session-manager",
|
||||
"session manager",
|
||||
"D-Bus session manager",
|
||||
g_param_spec_object ("session-manager", NULL, NULL,
|
||||
META_TYPE_DBUS_SESSION_MANAGER,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
g_object_interface_install_property (
|
||||
iface,
|
||||
g_param_spec_string ("peer-name",
|
||||
"peer name",
|
||||
"D-Bus peer name",
|
||||
g_param_spec_string ("peer-name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS));
|
||||
g_object_interface_install_property (
|
||||
iface,
|
||||
g_param_spec_string ("id",
|
||||
"session id",
|
||||
"Unique ID of the session",
|
||||
g_param_spec_string ("id", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -215,9 +215,7 @@ meta_gpu_class_init (MetaGpuClass *klass)
|
||||
object_class->finalize = meta_gpu_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 |
|
||||
|
@ -152,9 +152,7 @@ meta_idle_monitor_class_init (MetaIdleMonitorClass *klass)
|
||||
* The device to listen to idletime on.
|
||||
*/
|
||||
obj_props[PROP_DEVICE] =
|
||||
g_param_spec_object ("device",
|
||||
"Device",
|
||||
"The device to listen to idletime on",
|
||||
g_param_spec_object ("device", NULL, NULL,
|
||||
CLUTTER_TYPE_INPUT_DEVICE,
|
||||
G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
|
@ -144,17 +144,13 @@ meta_input_device_class_init (MetaInputDeviceClass *klass)
|
||||
object_class->get_property = meta_input_device_get_property;
|
||||
|
||||
props[PROP_BACKEND] =
|
||||
g_param_spec_object ("backend",
|
||||
"backend",
|
||||
"MetaBackend",
|
||||
g_param_spec_object ("backend", NULL, NULL,
|
||||
META_TYPE_BACKEND,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
props[PROP_WACOM_DEVICE] =
|
||||
g_param_spec_pointer ("wacom-device",
|
||||
"Wacom device",
|
||||
"Wacom device",
|
||||
g_param_spec_pointer ("wacom-device", NULL, NULL,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
|
@ -785,9 +785,7 @@ meta_input_mapper_class_init (MetaInputMapperClass *klass)
|
||||
object_class->get_property = meta_input_mapper_get_property;
|
||||
|
||||
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 |
|
||||
|
@ -1734,9 +1734,7 @@ meta_input_settings_class_init (MetaInputSettingsClass *klass)
|
||||
object_class->set_property = meta_input_settings_set_property;
|
||||
|
||||
props[PROP_BACKEND] =
|
||||
g_param_spec_object ("backend",
|
||||
"backend",
|
||||
"MetaBackend",
|
||||
g_param_spec_object ("backend", NULL, NULL,
|
||||
META_TYPE_BACKEND,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -1966,9 +1966,7 @@ meta_monitor_config_store_class_init (MetaMonitorConfigStoreClass *klass)
|
||||
object_class->set_property = meta_monitor_config_store_set_property;
|
||||
|
||||
obj_props[PROP_MONITOR_MANAGER] =
|
||||
g_param_spec_object ("monitor-manager",
|
||||
"MetaMonitorManager",
|
||||
"MetaMonitorManager",
|
||||
g_param_spec_object ("monitor-manager", NULL, NULL,
|
||||
META_TYPE_MONITOR_MANAGER,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS |
|
||||
|
@ -1500,45 +1500,35 @@ meta_monitor_manager_class_init (MetaMonitorManagerClass *klass)
|
||||
G_TYPE_NONE, 2, META_TYPE_LOGICAL_MONITOR, G_TYPE_BOOLEAN);
|
||||
|
||||
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_PANEL_ORIENTATION_MANAGED] =
|
||||
g_param_spec_boolean ("panel-orientation-managed",
|
||||
"Panel orientation managed",
|
||||
"Panel orientation is managed",
|
||||
g_param_spec_boolean ("panel-orientation-managed", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_EXPLICIT_NOTIFY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_HAS_BUILTIN_PANEL] =
|
||||
g_param_spec_boolean ("has-builtin-panel",
|
||||
"Has builtin panel",
|
||||
"The system has a built in panel",
|
||||
g_param_spec_boolean ("has-builtin-panel", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_EXPLICIT_NOTIFY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_NIGHT_LIGHT_SUPPORTED] =
|
||||
g_param_spec_boolean ("night-light-supported",
|
||||
"Night light supported",
|
||||
"Night light is supported",
|
||||
g_param_spec_boolean ("night-light-supported", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_EXPLICIT_NOTIFY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_EXPERIMENTAL_HDR] =
|
||||
g_param_spec_string ("experimental-hdr",
|
||||
"Experimental HDR",
|
||||
"Experimental HDR settings string",
|
||||
g_param_spec_string ("experimental-hdr", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
@ -352,9 +352,7 @@ meta_orientation_manager_class_init (MetaOrientationManagerClass *klass)
|
||||
G_TYPE_NONE, 0);
|
||||
|
||||
props[PROP_HAS_ACCELEROMETER] =
|
||||
g_param_spec_boolean ("has-accelerometer",
|
||||
"Has accelerometer",
|
||||
"Has accelerometer",
|
||||
g_param_spec_boolean ("has-accelerometer", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_EXPLICIT_NOTIFY |
|
||||
|
@ -662,33 +662,25 @@ meta_output_class_init (MetaOutputClass *klass)
|
||||
object_class->finalize = meta_output_finalize;
|
||||
|
||||
obj_props[PROP_ID] =
|
||||
g_param_spec_uint64 ("id",
|
||||
"id",
|
||||
"CRTC id",
|
||||
g_param_spec_uint64 ("id", NULL, NULL,
|
||||
0, UINT64_MAX, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_GPU] =
|
||||
g_param_spec_object ("gpu",
|
||||
"gpu",
|
||||
"MetaGpu",
|
||||
g_param_spec_object ("gpu", NULL, NULL,
|
||||
META_TYPE_GPU,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_INFO] =
|
||||
g_param_spec_boxed ("info",
|
||||
"info",
|
||||
"MetaOutputInfo",
|
||||
g_param_spec_boxed ("info", NULL, NULL,
|
||||
META_TYPE_OUTPUT_INFO,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_IS_PRIVACY_SCREEN_ENABLED] =
|
||||
g_param_spec_boolean ("is-privacy-screen-enabled",
|
||||
"is-privacy-screen-enabled",
|
||||
"Is privacy screen enabled",
|
||||
g_param_spec_boolean ("is-privacy-screen-enabled", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
@ -263,9 +263,7 @@ meta_remote_access_handle_class_init (MetaRemoteAccessHandleClass *klass)
|
||||
G_TYPE_NONE, 0);
|
||||
|
||||
obj_props[PROP_IS_RECORDING] =
|
||||
g_param_spec_boolean ("is-recording",
|
||||
"is-recording",
|
||||
"Is a screen recording",
|
||||
g_param_spec_boolean ("is-recording", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -203,9 +203,7 @@ meta_renderer_view_class_init (MetaRendererViewClass *klass)
|
||||
object_class->set_property = meta_renderer_view_set_property;
|
||||
|
||||
obj_props[PROP_TRANSFORM] =
|
||||
g_param_spec_uint ("transform",
|
||||
"Transform",
|
||||
"Transform to apply to the view",
|
||||
g_param_spec_uint ("transform", NULL, NULL,
|
||||
META_MONITOR_TRANSFORM_NORMAL,
|
||||
META_MONITOR_TRANSFORM_FLIPPED_270,
|
||||
META_MONITOR_TRANSFORM_NORMAL,
|
||||
@ -214,9 +212,7 @@ meta_renderer_view_class_init (MetaRendererViewClass *klass)
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_CRTC] =
|
||||
g_param_spec_object ("crtc",
|
||||
"MetaCrtc",
|
||||
"MetaCrtc",
|
||||
g_param_spec_object ("crtc", NULL, NULL,
|
||||
META_TYPE_CRTC,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -398,9 +398,7 @@ meta_renderer_class_init (MetaRendererClass *klass)
|
||||
klass->get_views_for_monitor = meta_renderer_real_get_views_for_monitor;
|
||||
|
||||
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 |
|
||||
|
@ -291,9 +291,7 @@ meta_screen_cast_monitor_stream_class_init (MetaScreenCastMonitorStreamClass *kl
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_MONITOR,
|
||||
g_param_spec_object ("monitor",
|
||||
"monitor",
|
||||
"MetaMonitor",
|
||||
g_param_spec_object ("monitor", NULL, NULL,
|
||||
META_TYPE_MONITOR,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -864,9 +864,7 @@ meta_screen_cast_session_class_init (MetaScreenCastSessionClass *klass)
|
||||
object_class->get_property = meta_screen_cast_session_get_property;
|
||||
|
||||
obj_props[PROP_SESSION_TYPE] =
|
||||
g_param_spec_enum ("session-type",
|
||||
"session type",
|
||||
"The type of screen cast session",
|
||||
g_param_spec_enum ("session-type", NULL, NULL,
|
||||
META_TYPE_SCREEN_CAST_SESSION_TYPE,
|
||||
META_SCREEN_CAST_SESSION_TYPE_NORMAL,
|
||||
G_PARAM_READWRITE |
|
||||
|
@ -1594,9 +1594,7 @@ meta_screen_cast_stream_src_class_init (MetaScreenCastStreamSrcClass *klass)
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_STREAM,
|
||||
g_param_spec_object ("stream",
|
||||
"stream",
|
||||
"MetaScreenCastStream",
|
||||
g_param_spec_object ("stream", NULL, NULL,
|
||||
META_TYPE_SCREEN_CAST_STREAM,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -404,9 +404,7 @@ meta_screen_cast_stream_class_init (MetaScreenCastStreamClass *klass)
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_SESSION,
|
||||
g_param_spec_object ("session",
|
||||
"session",
|
||||
"MetaScreenSession",
|
||||
g_param_spec_object ("session", NULL, NULL,
|
||||
META_TYPE_SCREEN_CAST_SESSION,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@ -414,9 +412,7 @@ meta_screen_cast_stream_class_init (MetaScreenCastStreamClass *klass)
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_CONNECTION,
|
||||
g_param_spec_object ("connection",
|
||||
"connection",
|
||||
"GDBus connection",
|
||||
g_param_spec_object ("connection", NULL, NULL,
|
||||
G_TYPE_DBUS_CONNECTION,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
@ -424,9 +420,7 @@ meta_screen_cast_stream_class_init (MetaScreenCastStreamClass *klass)
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_CURSOR_MODE,
|
||||
g_param_spec_uint ("cursor-mode",
|
||||
"cursor-mode",
|
||||
"Cursor mode",
|
||||
g_param_spec_uint ("cursor-mode", NULL, NULL,
|
||||
META_SCREEN_CAST_CURSOR_MODE_HIDDEN,
|
||||
META_SCREEN_CAST_CURSOR_MODE_METADATA,
|
||||
META_SCREEN_CAST_CURSOR_MODE_HIDDEN,
|
||||
@ -436,9 +430,7 @@ meta_screen_cast_stream_class_init (MetaScreenCastStreamClass *klass)
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_FLAGS,
|
||||
g_param_spec_flags ("flags",
|
||||
"flags",
|
||||
"Screen cast flags",
|
||||
g_param_spec_flags ("flags", NULL, NULL,
|
||||
META_TYPE_SCREEN_CAST_FLAG,
|
||||
META_SCREEN_CAST_FLAG_NONE,
|
||||
G_PARAM_READWRITE |
|
||||
|
@ -295,9 +295,7 @@ meta_screen_cast_window_stream_class_init (MetaScreenCastWindowStreamClass *klas
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_WINDOW,
|
||||
g_param_spec_object ("window",
|
||||
"window",
|
||||
"MetaWindow",
|
||||
g_param_spec_object ("window", NULL, NULL,
|
||||
META_TYPE_WINDOW,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -851,17 +851,13 @@ meta_stage_impl_class_init (MetaStageImplClass *klass)
|
||||
gobject_class->set_property = meta_stage_impl_set_property;
|
||||
|
||||
obj_props[PROP_WRAPPER] =
|
||||
g_param_spec_object ("wrapper",
|
||||
"Wrapper",
|
||||
"Back pointer to the Stage actor",
|
||||
g_param_spec_object ("wrapper", NULL, NULL,
|
||||
CLUTTER_TYPE_STAGE,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_BACKEND] =
|
||||
g_param_spec_object ("backend",
|
||||
"MetaBackend",
|
||||
"MetaBackend",
|
||||
g_param_spec_object ("backend", NULL, NULL,
|
||||
META_TYPE_BACKEND,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -207,24 +207,18 @@ meta_virtual_monitor_class_init (MetaVirtualMonitorClass *klass)
|
||||
object_class->dispose = meta_virtual_monitor_dispose;
|
||||
|
||||
obj_props[PROP_CRTC] =
|
||||
g_param_spec_object ("crtc",
|
||||
"crtc",
|
||||
"The virtual CRTC",
|
||||
g_param_spec_object ("crtc", NULL, NULL,
|
||||
META_TYPE_CRTC,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_CRTC_MODE] =
|
||||
g_param_spec_object ("crtc-mode",
|
||||
"crtc-mode",
|
||||
"The virtual CRTC mode",
|
||||
g_param_spec_object ("crtc-mode", NULL, NULL,
|
||||
META_TYPE_CRTC_MODE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_OUTPUT] =
|
||||
g_param_spec_object ("output",
|
||||
"output",
|
||||
"The virtual output",
|
||||
g_param_spec_object ("output", NULL, NULL,
|
||||
META_TYPE_OUTPUT,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -885,9 +885,7 @@ meta_backend_native_class_init (MetaBackendNativeClass *klass)
|
||||
backend_class->is_headless = meta_backend_native_is_headless;
|
||||
|
||||
obj_props[PROP_MODE] =
|
||||
g_param_spec_enum ("mode",
|
||||
"mode",
|
||||
"mode",
|
||||
g_param_spec_enum ("mode", NULL, NULL,
|
||||
META_TYPE_BACKEND_NATIVE_MODE,
|
||||
META_BACKEND_NATIVE_MODE_DEFAULT,
|
||||
G_PARAM_WRITABLE |
|
||||
|
@ -327,16 +327,12 @@ meta_drm_buffer_class_init (MetaDrmBufferClass *klass)
|
||||
object_class->finalize = meta_drm_buffer_finalize;
|
||||
|
||||
obj_props[PROP_DEVICE_FILE] =
|
||||
g_param_spec_pointer ("device-file",
|
||||
"device file",
|
||||
"MetaDeviceFile",
|
||||
g_param_spec_pointer ("device-file", NULL, NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_FLAGS] =
|
||||
g_param_spec_flags ("flags",
|
||||
"flags",
|
||||
"MetaDrmBufferFlags",
|
||||
g_param_spec_flags ("flags", NULL, NULL,
|
||||
META_TYPE_DRM_BUFFER_FLAGS,
|
||||
META_DRM_BUFFER_FLAG_NONE,
|
||||
G_PARAM_READWRITE |
|
||||
|
@ -1270,15 +1270,11 @@ meta_input_device_native_class_init (MetaInputDeviceNativeClass *klass)
|
||||
device_class->get_dimensions = meta_input_device_native_get_dimensions;
|
||||
|
||||
obj_props[PROP_DEVICE_MATRIX] =
|
||||
g_param_spec_boxed ("device-matrix",
|
||||
"Device input matrix",
|
||||
"Device input matrix",
|
||||
g_param_spec_boxed ("device-matrix", NULL, NULL,
|
||||
CAIRO_GOBJECT_TYPE_MATRIX,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
obj_props[PROP_OUTPUT_ASPECT_RATIO] =
|
||||
g_param_spec_double ("output-aspect-ratio",
|
||||
"Output aspect ratio",
|
||||
"Output aspect ratio",
|
||||
g_param_spec_double ("output-aspect-ratio", NULL, NULL,
|
||||
0, G_MAXDOUBLE, 0,
|
||||
CLUTTER_PARAM_READWRITE);
|
||||
|
||||
|
@ -816,9 +816,7 @@ meta_input_settings_native_class_init (MetaInputSettingsNativeClass *klass)
|
||||
input_settings_class->has_two_finger_scroll = meta_input_settings_native_has_two_finger_scroll;
|
||||
|
||||
props[PROP_SEAT_IMPL] =
|
||||
g_param_spec_object ("seat-impl",
|
||||
"Seat Impl",
|
||||
"Seat Impl",
|
||||
g_param_spec_object ("seat-impl", NULL, NULL,
|
||||
META_TYPE_SEAT_IMPL,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
@ -1935,33 +1935,25 @@ meta_kms_impl_device_class_init (MetaKmsImplDeviceClass *klass)
|
||||
object_class->finalize = meta_kms_impl_device_finalize;
|
||||
|
||||
obj_props[PROP_DEVICE] =
|
||||
g_param_spec_object ("device",
|
||||
"device",
|
||||
"MetaKmsDevice",
|
||||
g_param_spec_object ("device", NULL, NULL,
|
||||
META_TYPE_KMS_DEVICE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_IMPL] =
|
||||
g_param_spec_object ("impl",
|
||||
"impl",
|
||||
"MetaKmsImpl",
|
||||
g_param_spec_object ("impl", NULL, NULL,
|
||||
META_TYPE_KMS_IMPL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_PATH] =
|
||||
g_param_spec_string ("path",
|
||||
"path",
|
||||
"Device path",
|
||||
g_param_spec_string ("path", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_FLAGS] =
|
||||
g_param_spec_flags ("flags",
|
||||
"flags",
|
||||
"KMS impl device flags",
|
||||
g_param_spec_flags ("flags", NULL, NULL,
|
||||
META_TYPE_KMS_DEVICE_FLAG,
|
||||
META_KMS_DEVICE_FLAG_NONE,
|
||||
G_PARAM_READWRITE |
|
||||
|
@ -746,9 +746,7 @@ meta_monitor_manager_native_class_init (MetaMonitorManagerNativeClass *klass)
|
||||
meta_monitor_manager_native_create_virtual_monitor;
|
||||
|
||||
obj_props[PROP_NEED_OUTPUTS] =
|
||||
g_param_spec_boolean ("needs-outputs",
|
||||
"needs-outputs",
|
||||
"Whether any outputs are needed for operation",
|
||||
g_param_spec_boolean ("needs-outputs", NULL, NULL,
|
||||
TRUE,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -271,17 +271,13 @@ meta_render_device_class_init (MetaRenderDeviceClass *klass)
|
||||
object_class->finalize = meta_render_device_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_DEVICE_FILE] =
|
||||
g_param_spec_pointer ("device-file",
|
||||
"device file",
|
||||
"MetaDeviceFile",
|
||||
g_param_spec_pointer ("device-file", NULL, NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
@ -3592,26 +3592,20 @@ meta_seat_impl_class_init (MetaSeatImplClass *klass)
|
||||
object_class->finalize = meta_seat_impl_finalize;
|
||||
|
||||
props[PROP_SEAT] =
|
||||
g_param_spec_object ("seat",
|
||||
"Seat",
|
||||
"Seat",
|
||||
g_param_spec_object ("seat", NULL, NULL,
|
||||
META_TYPE_SEAT_NATIVE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
||||
props[PROP_SEAT_ID] =
|
||||
g_param_spec_string ("seat-id",
|
||||
"Seat ID",
|
||||
"Seat ID",
|
||||
g_param_spec_string ("seat-id", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
props[PROP_FLAGS] =
|
||||
g_param_spec_flags ("flags",
|
||||
"Flags",
|
||||
"Flags",
|
||||
g_param_spec_flags ("flags", NULL, NULL,
|
||||
META_TYPE_SEAT_NATIVE_FLAG,
|
||||
META_SEAT_NATIVE_FLAG_NONE,
|
||||
G_PARAM_READWRITE |
|
||||
|
@ -389,26 +389,20 @@ meta_seat_native_class_init (MetaSeatNativeClass *klass)
|
||||
seat_class->query_state = meta_seat_native_query_state;
|
||||
|
||||
props[PROP_SEAT_ID] =
|
||||
g_param_spec_string ("seat-id",
|
||||
"Seat ID",
|
||||
"Seat ID",
|
||||
g_param_spec_string ("seat-id", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
props[PROP_FLAGS] =
|
||||
g_param_spec_flags ("flags",
|
||||
"Flags",
|
||||
"Flags",
|
||||
g_param_spec_flags ("flags", NULL, NULL,
|
||||
META_TYPE_SEAT_NATIVE_FLAG,
|
||||
META_SEAT_NATIVE_FLAG_NONE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
props[PROP_BACKEND] =
|
||||
g_param_spec_object ("backend",
|
||||
"Backend",
|
||||
"Backend",
|
||||
g_param_spec_object ("backend", NULL, NULL,
|
||||
META_TYPE_BACKEND,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
@ -1109,14 +1109,10 @@ meta_virtual_input_device_native_class_init (MetaVirtualInputDeviceNativeClass *
|
||||
virtual_input_device_class->notify_touch_motion = meta_virtual_input_device_native_notify_touch_motion;
|
||||
virtual_input_device_class->notify_touch_up = meta_virtual_input_device_native_notify_touch_up;
|
||||
|
||||
obj_props[PROP_SEAT] = g_param_spec_pointer ("seat",
|
||||
"Seat",
|
||||
"Seat",
|
||||
obj_props[PROP_SEAT] = g_param_spec_pointer ("seat", NULL, NULL,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
obj_props[PROP_SLOT_BASE] = g_param_spec_uint ("slot-base",
|
||||
"Slot base",
|
||||
"Base for touch slots",
|
||||
obj_props[PROP_SLOT_BASE] = g_param_spec_uint ("slot-base", NULL, NULL,
|
||||
0, G_MAXUINT, 0,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
@ -555,9 +555,7 @@ meta_backend_x11_cm_class_init (MetaBackendX11CmClass *klass)
|
||||
backend_x11_class->translate_crossing_event = meta_backend_x11_cm_translate_crossing_event;
|
||||
|
||||
obj_props[PROP_DISPLAY_NAME] =
|
||||
g_param_spec_string ("display-name",
|
||||
"display name",
|
||||
"X11 display name",
|
||||
g_param_spec_string ("display-name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_WRITABLE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -223,9 +223,7 @@ meta_cursor_sprite_xfixes_class_init (MetaCursorSpriteXfixesClass *klass)
|
||||
cursor_sprite_class->is_animated = meta_cursor_sprite_xfixes_is_animated;
|
||||
|
||||
obj_props[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
"display",
|
||||
"MetaDisplay",
|
||||
g_param_spec_object ("display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -365,9 +365,7 @@ meta_input_device_x11_class_init (MetaInputDeviceX11Class *klass)
|
||||
device_class->get_dimensions = meta_input_device_x11_get_dimensions;
|
||||
|
||||
props[PROP_ID] =
|
||||
g_param_spec_int ("id",
|
||||
"Id",
|
||||
"Unique identifier of the device",
|
||||
g_param_spec_int ("id", NULL, NULL,
|
||||
-1, G_MAXINT,
|
||||
0,
|
||||
CLUTTER_PARAM_READWRITE |
|
||||
|
@ -549,9 +549,7 @@ meta_keymap_x11_class_init (MetaKeymapX11Class *klass)
|
||||
ClutterKeymapClass *keymap_class = CLUTTER_KEYMAP_CLASS (klass);
|
||||
|
||||
obj_props[PROP_BACKEND] =
|
||||
g_param_spec_object ("backend",
|
||||
"Backend",
|
||||
"The backend",
|
||||
g_param_spec_object ("backend", NULL, NULL,
|
||||
META_TYPE_BACKEND,
|
||||
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
|
@ -1891,30 +1891,22 @@ meta_seat_x11_class_init (MetaSeatX11Class *klass)
|
||||
seat_class->ungrab = meta_seat_x11_ungrab;
|
||||
|
||||
props[PROP_BACKEND] =
|
||||
g_param_spec_object ("backend",
|
||||
"MetaBackend",
|
||||
"MetaBackend",
|
||||
g_param_spec_object ("backend", NULL, NULL,
|
||||
META_TYPE_BACKEND,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
props[PROP_OPCODE] =
|
||||
g_param_spec_int ("opcode",
|
||||
"Opcode",
|
||||
"Opcode",
|
||||
g_param_spec_int ("opcode", NULL, NULL,
|
||||
0, G_MAXINT, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
props[PROP_POINTER_ID] =
|
||||
g_param_spec_int ("pointer-id",
|
||||
"Pointer ID",
|
||||
"Pointer ID",
|
||||
g_param_spec_int ("pointer-id", NULL, NULL,
|
||||
2, G_MAXINT, 2,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
props[PROP_KEYBOARD_ID] =
|
||||
g_param_spec_int ("keyboard-id",
|
||||
"Keyboard ID",
|
||||
"Keyboard ID",
|
||||
g_param_spec_int ("keyboard-id", NULL, NULL,
|
||||
2, G_MAXINT, 2,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
@ -1298,17 +1298,13 @@ meta_compositor_class_init (MetaCompositorClass *klass)
|
||||
klass->after_paint = meta_compositor_real_after_paint;
|
||||
|
||||
obj_props[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
"display",
|
||||
"MetaDisplay",
|
||||
g_param_spec_object ("display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
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 |
|
||||
|
@ -115,9 +115,7 @@ meta_background_actor_class_init (MetaBackgroundActorClass *klass)
|
||||
object_class->set_property = meta_background_actor_set_property;
|
||||
object_class->get_property = meta_background_actor_get_property;
|
||||
|
||||
param_spec = g_param_spec_object ("meta-display",
|
||||
"MetaDisplay",
|
||||
"MetaDisplay",
|
||||
param_spec = g_param_spec_object ("meta-display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
@ -125,9 +123,7 @@ meta_background_actor_class_init (MetaBackgroundActorClass *klass)
|
||||
PROP_META_DISPLAY,
|
||||
param_spec);
|
||||
|
||||
param_spec = g_param_spec_int ("monitor",
|
||||
"monitor",
|
||||
"monitor",
|
||||
param_spec = g_param_spec_int ("monitor", NULL, NULL,
|
||||
0, G_MAXINT, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
|
@ -956,72 +956,52 @@ meta_background_content_class_init (MetaBackgroundContentClass *klass)
|
||||
object_class->get_property = meta_background_content_get_property;
|
||||
|
||||
properties[PROP_META_DISPLAY] =
|
||||
g_param_spec_object ("meta-display",
|
||||
"MetaDisplay",
|
||||
"MetaDisplay",
|
||||
g_param_spec_object ("meta-display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
properties[PROP_MONITOR] =
|
||||
g_param_spec_int ("monitor",
|
||||
"monitor",
|
||||
"monitor",
|
||||
g_param_spec_int ("monitor", NULL, NULL,
|
||||
0, G_MAXINT, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
properties[PROP_BACKGROUND] =
|
||||
g_param_spec_object ("background",
|
||||
"Background",
|
||||
"MetaBackground object holding background parameters",
|
||||
g_param_spec_object ("background", NULL, NULL,
|
||||
META_TYPE_BACKGROUND,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
properties[PROP_GRADIENT] =
|
||||
g_param_spec_boolean ("gradient",
|
||||
"Gradient",
|
||||
"Whether gradient effect is enabled",
|
||||
g_param_spec_boolean ("gradient", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
properties[PROP_GRADIENT_HEIGHT] =
|
||||
g_param_spec_int ("gradient-height",
|
||||
"Gradient Height",
|
||||
"Height of gradient effect",
|
||||
g_param_spec_int ("gradient-height", NULL, NULL,
|
||||
0, G_MAXINT, 0,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
properties[PROP_GRADIENT_MAX_DARKNESS] =
|
||||
g_param_spec_double ("gradient-max-darkness",
|
||||
"Gradient Max Darkness",
|
||||
"How dark is the gradient initially",
|
||||
g_param_spec_double ("gradient-max-darkness", NULL, NULL,
|
||||
0.0, 1.0, 0.0,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
properties[PROP_VIGNETTE] =
|
||||
g_param_spec_boolean ("vignette",
|
||||
"Vignette",
|
||||
"Whether vignette effect is enabled",
|
||||
g_param_spec_boolean ("vignette", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
properties[PROP_VIGNETTE_BRIGHTNESS] =
|
||||
g_param_spec_double ("brightness",
|
||||
"Vignette Brightness",
|
||||
"Brightness of vignette effect",
|
||||
g_param_spec_double ("brightness", NULL, NULL,
|
||||
0.0, 1.0, 1.0,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
properties[PROP_VIGNETTE_SHARPNESS] =
|
||||
g_param_spec_double ("vignette-sharpness",
|
||||
"Vignette Sharpness",
|
||||
"Sharpness of vignette effect",
|
||||
g_param_spec_double ("vignette-sharpness", NULL, NULL,
|
||||
0.0, G_MAXDOUBLE, 0.0,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
properties[PROP_ROUNDED_CLIP_RADIUS] =
|
||||
g_param_spec_float ("rounded-clip-radius",
|
||||
"Rounded clip radius",
|
||||
"Rounded clip radius",
|
||||
g_param_spec_float ("rounded-clip-radius", NULL, NULL,
|
||||
0.0, G_MAXFLOAT, 0.0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS |
|
||||
|
@ -352,9 +352,7 @@ meta_background_class_init (MetaBackgroundClass *klass)
|
||||
NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 0);
|
||||
|
||||
param_spec = g_param_spec_object ("meta-display",
|
||||
"MetaDisplay",
|
||||
"MetaDisplay",
|
||||
param_spec = g_param_spec_object ("meta-display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
|
@ -184,9 +184,7 @@ meta_compositor_view_class_init (MetaCompositorViewClass *klass)
|
||||
object_class->finalize = meta_compositor_view_finalize;
|
||||
|
||||
obj_props[PROP_STAGE_VIEW] =
|
||||
g_param_spec_object ("stage-view",
|
||||
"stage-view",
|
||||
"ClutterStageView",
|
||||
g_param_spec_object ("stage-view", NULL, NULL,
|
||||
CLUTTER_TYPE_STAGE_VIEW,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -111,9 +111,7 @@ meta_dnd_actor_class_init (MetaDnDActorClass *klass)
|
||||
object_class->set_property = meta_dnd_actor_set_property;
|
||||
object_class->get_property = meta_dnd_actor_get_property;
|
||||
|
||||
pspec = g_param_spec_object ("drag-origin",
|
||||
"Drag origin",
|
||||
"The origin of the DnD operation",
|
||||
pspec = g_param_spec_object ("drag-origin", NULL, NULL,
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
@ -121,9 +119,7 @@ meta_dnd_actor_class_init (MetaDnDActorClass *klass)
|
||||
PROP_DRAG_ORIGIN,
|
||||
pspec);
|
||||
|
||||
pspec = g_param_spec_int ("drag-start-x",
|
||||
"Drag start X",
|
||||
"The X axis of the drag start point",
|
||||
pspec = g_param_spec_int ("drag-start-x", NULL, NULL,
|
||||
0, G_MAXINT, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
@ -131,9 +127,7 @@ meta_dnd_actor_class_init (MetaDnDActorClass *klass)
|
||||
PROP_DRAG_START_X,
|
||||
pspec);
|
||||
|
||||
pspec = g_param_spec_int ("drag-start-y",
|
||||
"Drag start Y",
|
||||
"The Y axis of the drag start point",
|
||||
pspec = g_param_spec_int ("drag-start-y", NULL, NULL,
|
||||
0, G_MAXINT, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
|
@ -161,9 +161,7 @@ meta_feedback_actor_class_init (MetaFeedbackActorClass *klass)
|
||||
object_class->set_property = meta_feedback_actor_set_property;
|
||||
object_class->get_property = meta_feedback_actor_get_property;
|
||||
|
||||
pspec = g_param_spec_object ("compositor",
|
||||
"compositor",
|
||||
"The compositor instance",
|
||||
pspec = g_param_spec_object ("compositor", NULL, NULL,
|
||||
META_TYPE_COMPOSITOR,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS |
|
||||
@ -173,9 +171,7 @@ meta_feedback_actor_class_init (MetaFeedbackActorClass *klass)
|
||||
PROP_COMPOSITOR,
|
||||
pspec);
|
||||
|
||||
pspec = g_param_spec_float ("anchor-x",
|
||||
"Anchor X",
|
||||
"The X axis of the anchor point",
|
||||
pspec = g_param_spec_float ("anchor-x", NULL, NULL,
|
||||
0, G_MAXFLOAT, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
@ -184,9 +180,7 @@ meta_feedback_actor_class_init (MetaFeedbackActorClass *klass)
|
||||
PROP_ANCHOR_X,
|
||||
pspec);
|
||||
|
||||
pspec = g_param_spec_float ("anchor-y",
|
||||
"Anchor Y",
|
||||
"The Y axis of the anchor point",
|
||||
pspec = g_param_spec_float ("anchor-y", NULL, NULL,
|
||||
0, G_MAXFLOAT, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
@ -169,9 +169,7 @@ meta_module_class_init (MetaModuleClass *klass)
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_PATH,
|
||||
g_param_spec_string ("path",
|
||||
"Path",
|
||||
"Load path",
|
||||
g_param_spec_string ("path", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY));
|
||||
|
@ -1604,9 +1604,7 @@ meta_window_actor_x11_class_init (MetaWindowActorX11Class *klass)
|
||||
object_class->dispose = meta_window_actor_x11_dispose;
|
||||
object_class->finalize = meta_window_actor_x11_finalize;
|
||||
|
||||
pspec = g_param_spec_enum ("shadow-mode",
|
||||
"Shadow mode",
|
||||
"Decides when to paint shadows",
|
||||
pspec = g_param_spec_enum ("shadow-mode", NULL, NULL,
|
||||
META_TYPE_SHADOW_MODE,
|
||||
META_SHADOW_MODE_AUTO,
|
||||
G_PARAM_READWRITE);
|
||||
@ -1615,9 +1613,7 @@ meta_window_actor_x11_class_init (MetaWindowActorX11Class *klass)
|
||||
PROP_SHADOW_MODE,
|
||||
pspec);
|
||||
|
||||
pspec = g_param_spec_string ("shadow-class",
|
||||
"Name of the shadow class for this window.",
|
||||
"NULL means to use the default shadow class for this window type",
|
||||
pspec = g_param_spec_string ("shadow-class", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
|
@ -198,9 +198,7 @@ meta_window_actor_class_init (MetaWindowActorClass *klass)
|
||||
NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 0);
|
||||
|
||||
pspec = g_param_spec_object ("meta-window",
|
||||
"MetaWindow",
|
||||
"The displayed MetaWindow",
|
||||
pspec = g_param_spec_object ("meta-window", NULL, NULL,
|
||||
META_TYPE_WINDOW,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
|
@ -236,16 +236,12 @@ meta_window_drag_class_init (MetaWindowDragClass *klass)
|
||||
object_class->set_property = meta_window_drag_set_property;
|
||||
object_class->get_property = meta_window_drag_get_property;
|
||||
|
||||
props[PROP_WINDOW] = g_param_spec_object ("window",
|
||||
"Window",
|
||||
"Window",
|
||||
props[PROP_WINDOW] = g_param_spec_object ("window", NULL, NULL,
|
||||
META_TYPE_WINDOW,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
props[PROP_GRAB_OP] = g_param_spec_uint ("grab-op",
|
||||
"Grab op",
|
||||
"Grab op",
|
||||
props[PROP_GRAB_OP] = g_param_spec_uint ("grab-op", NULL, NULL,
|
||||
0, G_MAXUINT,
|
||||
META_GRAB_OP_NONE,
|
||||
G_PARAM_READWRITE |
|
||||
|
@ -566,18 +566,14 @@ meta_display_class_init (MetaDisplayClass *klass)
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_COMPOSITOR_MODIFIERS,
|
||||
g_param_spec_flags ("compositor-modifiers",
|
||||
"Compositor modifiers",
|
||||
"Modifiers reserved for compositor actions",
|
||||
g_param_spec_flags ("compositor-modifiers", NULL, NULL,
|
||||
CLUTTER_TYPE_MODIFIER_TYPE,
|
||||
0,
|
||||
G_PARAM_READABLE));
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_FOCUS_WINDOW,
|
||||
g_param_spec_object ("focus-window",
|
||||
"Focus window",
|
||||
"Currently focused window",
|
||||
g_param_spec_object ("focus-window", NULL, NULL,
|
||||
META_TYPE_WINDOW,
|
||||
G_PARAM_READABLE));
|
||||
|
||||
|
@ -41,9 +41,7 @@ static void
|
||||
meta_close_dialog_default_init (MetaCloseDialogInterface *iface)
|
||||
{
|
||||
g_object_interface_install_property (iface,
|
||||
g_param_spec_object ("window",
|
||||
"Window",
|
||||
"Window",
|
||||
g_param_spec_object ("window", NULL, NULL,
|
||||
META_TYPE_WINDOW,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY));
|
||||
|
@ -787,17 +787,13 @@ meta_context_class_init (MetaContextClass *klass)
|
||||
klass->setup = meta_context_real_setup;
|
||||
|
||||
obj_props[PROP_NAME] =
|
||||
g_param_spec_string ("name",
|
||||
"name",
|
||||
"Human readable name",
|
||||
g_param_spec_string ("name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_UNSAFE_MODE] =
|
||||
g_param_spec_boolean ("unsafe-mode",
|
||||
"unsafe mode",
|
||||
"Unsafe mode",
|
||||
g_param_spec_boolean ("unsafe-mode", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_EXPLICIT_NOTIFY |
|
||||
|
@ -157,9 +157,7 @@ meta_gesture_tracker_class_init (MetaGestureTrackerClass *klass)
|
||||
object_class->set_property = meta_gesture_tracker_set_property;
|
||||
object_class->get_property = meta_gesture_tracker_get_property;
|
||||
|
||||
obj_props[PROP_AUTODENY_TIMEOUT] = g_param_spec_uint ("autodeny-timeout",
|
||||
"Auto-deny timeout",
|
||||
"Auto-deny timeout",
|
||||
obj_props[PROP_AUTODENY_TIMEOUT] = g_param_spec_uint ("autodeny-timeout", NULL, NULL,
|
||||
0, G_MAXUINT, DEFAULT_AUTODENY_TIMEOUT,
|
||||
G_PARAM_STATIC_STRINGS |
|
||||
G_PARAM_READWRITE |
|
||||
|
@ -36,9 +36,7 @@ static void
|
||||
meta_inhibit_shortcuts_dialog_default_init (MetaInhibitShortcutsDialogInterface *iface)
|
||||
{
|
||||
g_object_interface_install_property (iface,
|
||||
g_param_spec_object ("window",
|
||||
"Window",
|
||||
"Window",
|
||||
g_param_spec_object ("window", NULL, NULL,
|
||||
META_TYPE_WINDOW,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -224,21 +224,15 @@ meta_launch_context_class_init (MetaLaunchContextClass *klass)
|
||||
ctx_class->launch_failed = meta_launch_context_launch_failed;
|
||||
|
||||
props[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
"display",
|
||||
"Display",
|
||||
g_param_spec_object ("display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
props[PROP_WORKSPACE] =
|
||||
g_param_spec_object ("workspace",
|
||||
"workspace",
|
||||
"Workspace",
|
||||
g_param_spec_object ("workspace", NULL, NULL,
|
||||
META_TYPE_WORKSPACE,
|
||||
G_PARAM_READWRITE);
|
||||
props[PROP_TIMESTAMP] =
|
||||
g_param_spec_uint ("timestamp",
|
||||
"timestamp",
|
||||
"Timestamp",
|
||||
g_param_spec_uint ("timestamp", NULL, NULL,
|
||||
0, G_MAXUINT32, 0,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
|
@ -180,25 +180,19 @@ meta_workspace_manager_class_init (MetaWorkspaceManagerClass *klass)
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_LAYOUT_COLUMNS,
|
||||
g_param_spec_int ("layout-columns",
|
||||
"Layout columns",
|
||||
"Number of columns in layout",
|
||||
g_param_spec_int ("layout-columns", NULL, NULL,
|
||||
-1, G_MAXINT, 1,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_LAYOUT_ROWS,
|
||||
g_param_spec_int ("layout-rows",
|
||||
"Layout rows",
|
||||
"Number of rows in layout",
|
||||
g_param_spec_int ("layout-rows", NULL, NULL,
|
||||
-1, G_MAXINT, -1,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_N_WORKSPACES,
|
||||
g_param_spec_int ("n-workspaces",
|
||||
"N Workspaces",
|
||||
"Number of workspaces",
|
||||
g_param_spec_int ("n-workspaces", NULL, NULL,
|
||||
1, G_MAXINT, 1,
|
||||
G_PARAM_READABLE));
|
||||
}
|
||||
|
@ -236,9 +236,7 @@ meta_stack_class_init (MetaStackClass *klass)
|
||||
G_TYPE_NONE, 1, META_TYPE_WINDOW);
|
||||
|
||||
pspecs[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
"Display",
|
||||
"Display",
|
||||
g_param_spec_object ("display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
|
@ -320,58 +320,42 @@ meta_startup_sequence_class_init (MetaStartupSequenceClass *klass)
|
||||
G_TYPE_NONE, 0);
|
||||
|
||||
seq_props[PROP_SEQ_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
"Display",
|
||||
"Display",
|
||||
g_param_spec_object ("display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
seq_props[PROP_SEQ_ID] =
|
||||
g_param_spec_string ("id",
|
||||
"ID",
|
||||
"ID",
|
||||
g_param_spec_string ("id", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
seq_props[PROP_SEQ_TIMESTAMP] =
|
||||
g_param_spec_uint64 ("timestamp",
|
||||
"Timestamp",
|
||||
"Timestamp",
|
||||
g_param_spec_uint64 ("timestamp", NULL, NULL,
|
||||
0, G_MAXUINT64, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
seq_props[PROP_SEQ_ICON_NAME] =
|
||||
g_param_spec_string ("icon-name",
|
||||
"Icon name",
|
||||
"Icon name",
|
||||
g_param_spec_string ("icon-name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
seq_props[PROP_SEQ_APPLICATION_ID] =
|
||||
g_param_spec_string ("application-id",
|
||||
"Application ID",
|
||||
"Application ID",
|
||||
g_param_spec_string ("application-id", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
seq_props[PROP_SEQ_WMCLASS] =
|
||||
g_param_spec_string ("wmclass",
|
||||
"WM class",
|
||||
"WM class",
|
||||
g_param_spec_string ("wmclass", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
seq_props[PROP_SEQ_WORKSPACE] =
|
||||
g_param_spec_int ("workspace",
|
||||
"Workspace",
|
||||
"Workspace",
|
||||
g_param_spec_int ("workspace", NULL, NULL,
|
||||
G_MININT, G_MAXINT, -1,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
seq_props[PROP_SEQ_NAME] =
|
||||
g_param_spec_string ("name",
|
||||
"Name",
|
||||
"Name",
|
||||
g_param_spec_string ("name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
@ -733,9 +717,7 @@ meta_startup_notification_class_init (MetaStartupNotificationClass *klass)
|
||||
object_class->get_property = meta_startup_notification_get_property;
|
||||
|
||||
sn_props[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
"Display",
|
||||
"Display",
|
||||
g_param_spec_object ("display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
|
@ -487,184 +487,126 @@ meta_window_class_init (MetaWindowClass *klass)
|
||||
klass->get_client_pid = meta_window_real_get_client_pid;
|
||||
|
||||
obj_props[PROP_TITLE] =
|
||||
g_param_spec_string ("title",
|
||||
"Title",
|
||||
"The title of the window",
|
||||
g_param_spec_string ("title", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_ICON] =
|
||||
g_param_spec_pointer ("icon",
|
||||
"Icon",
|
||||
"Normal icon, usually 96x96 pixels",
|
||||
g_param_spec_pointer ("icon", NULL, NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_MINI_ICON] =
|
||||
g_param_spec_pointer ("mini-icon",
|
||||
"Mini Icon",
|
||||
"Mini icon, usually 16x16 pixels",
|
||||
g_param_spec_pointer ("mini-icon", NULL, NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_DECORATED] =
|
||||
g_param_spec_boolean ("decorated",
|
||||
"Decorated",
|
||||
"Whether window is decorated",
|
||||
g_param_spec_boolean ("decorated", NULL, NULL,
|
||||
TRUE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_FULLSCREEN] =
|
||||
g_param_spec_boolean ("fullscreen",
|
||||
"Fullscreen",
|
||||
"Whether window is fullscreened",
|
||||
g_param_spec_boolean ("fullscreen", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_MAXIMIZED_HORIZONTALLY] =
|
||||
g_param_spec_boolean ("maximized-horizontally",
|
||||
"Maximized horizontally",
|
||||
"Whether window is maximized horizontally",
|
||||
g_param_spec_boolean ("maximized-horizontally", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_MAXIMIZED_VERTICALLY] =
|
||||
g_param_spec_boolean ("maximized-vertically",
|
||||
"Maximizing vertically",
|
||||
"Whether window is maximized vertically",
|
||||
g_param_spec_boolean ("maximized-vertically", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_MINIMIZED] =
|
||||
g_param_spec_boolean ("minimized",
|
||||
"Minimizing",
|
||||
"Whether window is minimized",
|
||||
g_param_spec_boolean ("minimized", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_WINDOW_TYPE] =
|
||||
g_param_spec_enum ("window-type",
|
||||
"Window Type",
|
||||
"The type of the window",
|
||||
g_param_spec_enum ("window-type", NULL, NULL,
|
||||
META_TYPE_WINDOW_TYPE,
|
||||
META_WINDOW_NORMAL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_USER_TIME] =
|
||||
g_param_spec_uint ("user-time",
|
||||
"User time",
|
||||
"Timestamp of last user interaction",
|
||||
g_param_spec_uint ("user-time", NULL, NULL,
|
||||
0,
|
||||
G_MAXUINT,
|
||||
0,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_DEMANDS_ATTENTION] =
|
||||
g_param_spec_boolean ("demands-attention",
|
||||
"Demands Attention",
|
||||
"Whether the window has _NET_WM_STATE_DEMANDS_ATTENTION set",
|
||||
g_param_spec_boolean ("demands-attention", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_URGENT] =
|
||||
g_param_spec_boolean ("urgent",
|
||||
"Urgent",
|
||||
"Whether the urgent flag of WM_HINTS is set",
|
||||
g_param_spec_boolean ("urgent", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_SKIP_TASKBAR] =
|
||||
g_param_spec_boolean ("skip-taskbar",
|
||||
"Skip taskbar",
|
||||
"Whether the skip-taskbar flag of WM_HINTS is set",
|
||||
g_param_spec_boolean ("skip-taskbar", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_MUTTER_HINTS] =
|
||||
g_param_spec_string ("mutter-hints",
|
||||
"_MUTTER_HINTS",
|
||||
"Contents of the _MUTTER_HINTS property of this window",
|
||||
g_param_spec_string ("mutter-hints", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_APPEARS_FOCUSED] =
|
||||
g_param_spec_boolean ("appears-focused",
|
||||
"Appears focused",
|
||||
"Whether the window is drawn as being focused",
|
||||
g_param_spec_boolean ("appears-focused", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_RESIZEABLE] =
|
||||
g_param_spec_boolean ("resizeable",
|
||||
"Resizeable",
|
||||
"Whether the window can be resized",
|
||||
g_param_spec_boolean ("resizeable", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_ABOVE] =
|
||||
g_param_spec_boolean ("above",
|
||||
"Above",
|
||||
"Whether the window is shown as always-on-top",
|
||||
g_param_spec_boolean ("above", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_WM_CLASS] =
|
||||
g_param_spec_string ("wm-class",
|
||||
"WM_CLASS",
|
||||
"Contents of the WM_CLASS property of this window",
|
||||
g_param_spec_string ("wm-class", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_GTK_APPLICATION_ID] =
|
||||
g_param_spec_string ("gtk-application-id",
|
||||
"_GTK_APPLICATION_ID",
|
||||
"Contents of the _GTK_APPLICATION_ID property of this window",
|
||||
g_param_spec_string ("gtk-application-id", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_GTK_UNIQUE_BUS_NAME] =
|
||||
g_param_spec_string ("gtk-unique-bus-name",
|
||||
"_GTK_UNIQUE_BUS_NAME",
|
||||
"Contents of the _GTK_UNIQUE_BUS_NAME property of this window",
|
||||
g_param_spec_string ("gtk-unique-bus-name", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_GTK_APPLICATION_OBJECT_PATH] =
|
||||
g_param_spec_string ("gtk-application-object-path",
|
||||
"_GTK_APPLICATION_OBJECT_PATH",
|
||||
"Contents of the _GTK_APPLICATION_OBJECT_PATH property of this window",
|
||||
g_param_spec_string ("gtk-application-object-path", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_GTK_WINDOW_OBJECT_PATH] =
|
||||
g_param_spec_string ("gtk-window-object-path",
|
||||
"_GTK_WINDOW_OBJECT_PATH",
|
||||
"Contents of the _GTK_WINDOW_OBJECT_PATH property of this window",
|
||||
g_param_spec_string ("gtk-window-object-path", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_GTK_APP_MENU_OBJECT_PATH] =
|
||||
g_param_spec_string ("gtk-app-menu-object-path",
|
||||
"_GTK_APP_MENU_OBJECT_PATH",
|
||||
"Contents of the _GTK_APP_MENU_OBJECT_PATH property of this window",
|
||||
g_param_spec_string ("gtk-app-menu-object-path", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_GTK_MENUBAR_OBJECT_PATH] =
|
||||
g_param_spec_string ("gtk-menubar-object-path",
|
||||
"_GTK_MENUBAR_OBJECT_PATH",
|
||||
"Contents of the _GTK_MENUBAR_OBJECT_PATH property of this window",
|
||||
g_param_spec_string ("gtk-menubar-object-path", NULL, NULL,
|
||||
NULL,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_ON_ALL_WORKSPACES] =
|
||||
g_param_spec_boolean ("on-all-workspaces",
|
||||
"On all workspaces",
|
||||
"Whether the window is set to appear on all workspaces",
|
||||
g_param_spec_boolean ("on-all-workspaces", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_IS_ALIVE] =
|
||||
g_param_spec_boolean ("is-alive",
|
||||
"Is alive",
|
||||
"Whether the window responds to pings",
|
||||
g_param_spec_boolean ("is-alive", NULL, NULL,
|
||||
TRUE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
|
||||
obj_props[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
"Display",
|
||||
"The display the window is attached to",
|
||||
g_param_spec_object ("display", NULL, NULL,
|
||||
META_TYPE_DISPLAY,
|
||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
||||
|
||||
obj_props[PROP_EFFECT] =
|
||||
g_param_spec_int ("effect",
|
||||
"Compositor effect",
|
||||
"The compositor effect",
|
||||
g_param_spec_int ("effect", NULL, NULL,
|
||||
META_COMP_EFFECT_CREATE,
|
||||
META_COMP_EFFECT_NONE,
|
||||
META_COMP_EFFECT_NONE,
|
||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
||||
|
||||
obj_props[PROP_XWINDOW] =
|
||||
g_param_spec_ulong ("xwindow",
|
||||
"X Window",
|
||||
"The corresponding X Window",
|
||||
g_param_spec_ulong ("xwindow", NULL, NULL,
|
||||
0, G_MAXULONG, 0,
|
||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
||||
|
||||
|
@ -214,19 +214,13 @@ meta_workspace_class_init (MetaWorkspaceClass *klass)
|
||||
G_TYPE_NONE, 1,
|
||||
META_TYPE_WINDOW);
|
||||
|
||||
obj_props[PROP_N_WINDOWS] = g_param_spec_uint ("n-windows",
|
||||
"N Windows",
|
||||
"Number of windows",
|
||||
obj_props[PROP_N_WINDOWS] = g_param_spec_uint ("n-windows", NULL, NULL,
|
||||
0, G_MAXUINT, 0,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_WORKSPACE_INDEX] = g_param_spec_uint ("workspace-index",
|
||||
"Workspace index",
|
||||
"The workspace's index",
|
||||
obj_props[PROP_WORKSPACE_INDEX] = g_param_spec_uint ("workspace-index", NULL, NULL,
|
||||
0, G_MAXUINT, 0,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
obj_props[PROP_ACTIVE] = g_param_spec_boolean ("active",
|
||||
"Active",
|
||||
"Whether the workspace is currently active",
|
||||
obj_props[PROP_ACTIVE] = g_param_spec_boolean ("active", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
|
||||
|
||||
|
@ -150,18 +150,14 @@ meta_frame_content_class_init (MetaFrameContentClass *klass)
|
||||
widget_class->measure = meta_frame_content_measure;
|
||||
widget_class->size_allocate = meta_frame_content_size_allocate;
|
||||
|
||||
props[PROP_XWINDOW] = g_param_spec_ulong ("xwindow",
|
||||
"X window",
|
||||
"X window",
|
||||
props[PROP_XWINDOW] = g_param_spec_ulong ("xwindow", NULL, NULL,
|
||||
0, G_MAXULONG, 0,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
G_PARAM_STATIC_NAME |
|
||||
G_PARAM_STATIC_NICK |
|
||||
G_PARAM_STATIC_BLURB);
|
||||
props[PROP_BORDER] = g_param_spec_boxed ("border",
|
||||
"Border",
|
||||
"Border",
|
||||
props[PROP_BORDER] = g_param_spec_boxed ("border", NULL, NULL,
|
||||
GTK_TYPE_BORDER,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_EXPLICIT_NOTIFY |
|
||||
|
@ -406,9 +406,7 @@ meta_window_tracker_class_init (MetaWindowTrackerClass *klass)
|
||||
object_class->constructed = meta_window_tracker_constructed;
|
||||
object_class->finalize = meta_window_tracker_finalize;
|
||||
|
||||
props[PROP_DISPLAY] = g_param_spec_object ("display",
|
||||
"Display",
|
||||
"Display",
|
||||
props[PROP_DISPLAY] = g_param_spec_object ("display", NULL, NULL,
|
||||
GDK_TYPE_DISPLAY,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -86,7 +86,7 @@ test_group_meta_class_init (TestGroupMetaClass *klass)
|
||||
gobject_class->set_property = test_group_meta_set_property;
|
||||
gobject_class->get_property = test_group_meta_get_property;
|
||||
|
||||
pspec = g_param_spec_boolean ("focus", "Focus", "Focus",
|
||||
pspec = g_param_spec_boolean ("focus", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class, PROP_META_FOCUS, pspec);
|
||||
|
@ -386,27 +386,21 @@ my_thing_class_init (MyThingClass *klass)
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_SPACING,
|
||||
g_param_spec_float ("spacing",
|
||||
"Spacing",
|
||||
"Spacing of the thing",
|
||||
g_param_spec_float ("spacing", NULL, NULL,
|
||||
0, G_MAXFLOAT,
|
||||
0,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_PADDING,
|
||||
g_param_spec_float ("padding",
|
||||
"Padding",
|
||||
"Padding around the thing",
|
||||
g_param_spec_float ("padding", NULL, NULL,
|
||||
0, G_MAXFLOAT,
|
||||
0,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_USE_TRANSFORMED_BOX,
|
||||
g_param_spec_boolean ("use-transformed-box",
|
||||
"Use Transformed Box",
|
||||
"Use transformed box when allocating",
|
||||
g_param_spec_boolean ("use-transformed-box", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE));
|
||||
}
|
||||
|
@ -269,9 +269,7 @@ meta_pointer_confinement_wayland_class_init (MetaPointerConfinementWaylandClass
|
||||
klass->create_constraint = meta_pointer_confinement_wayland_create_constraint;
|
||||
|
||||
props[PROP_WAYLAND_POINTER_CONSTRAINT] =
|
||||
g_param_spec_object ("wayland-pointer-constraint",
|
||||
"Wayland pointer constraint",
|
||||
"Wayland pointer constraint",
|
||||
g_param_spec_object ("wayland-pointer-constraint", NULL, NULL,
|
||||
META_TYPE_WAYLAND_POINTER_CONSTRAINT,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -224,9 +224,7 @@ meta_wayland_data_source_class_init (MetaWaylandDataSourceClass *klass)
|
||||
klass->drag_finished = meta_wayland_data_source_real_drag_finished;
|
||||
|
||||
props[PROP_COMPOSITOR] =
|
||||
g_param_spec_object ("compositor",
|
||||
"compositor",
|
||||
"MetaWaylandCompositor",
|
||||
g_param_spec_object ("compositor", NULL, NULL,
|
||||
META_TYPE_WAYLAND_COMPOSITOR,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -119,9 +119,7 @@ meta_wayland_input_device_class_init (MetaWaylandInputDeviceClass *klass)
|
||||
object_class->set_property = meta_wayland_input_device_set_property;
|
||||
object_class->get_property = meta_wayland_input_device_get_property;
|
||||
|
||||
pspec = g_param_spec_pointer ("seat",
|
||||
"MetaWaylandSeat",
|
||||
"The seat",
|
||||
pspec = g_param_spec_pointer ("seat", NULL, NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
@ -1790,9 +1790,7 @@ meta_wayland_surface_class_init (MetaWaylandSurfaceClass *klass)
|
||||
object_class->get_property = meta_wayland_surface_get_property;
|
||||
|
||||
obj_props[PROP_SCANOUT_CANDIDATE] =
|
||||
g_param_spec_object ("scanout-candidate",
|
||||
"scanout-candidate",
|
||||
"Scanout candidate for given CRTC",
|
||||
g_param_spec_object ("scanout-candidate", NULL, NULL,
|
||||
META_TYPE_CRTC,
|
||||
G_PARAM_READABLE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
@ -1910,9 +1908,7 @@ meta_wayland_surface_role_class_init (MetaWaylandSurfaceRoleClass *klass)
|
||||
|
||||
g_object_class_install_property (object_class,
|
||||
SURFACE_ROLE_PROP_SURFACE,
|
||||
g_param_spec_object ("surface",
|
||||
"MetaWaylandSurface",
|
||||
"The MetaWaylandSurface instance",
|
||||
g_param_spec_object ("surface", NULL, NULL,
|
||||
META_TYPE_WAYLAND_SURFACE,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY |
|
||||
|
@ -1919,17 +1919,13 @@ meta_wayland_xdg_surface_class_init (MetaWaylandXdgSurfaceClass *klass)
|
||||
meta_wayland_xdg_surface_real_shell_client_destroyed;
|
||||
klass->reset = meta_wayland_xdg_surface_real_reset;
|
||||
|
||||
pspec = g_param_spec_pointer ("shell-client",
|
||||
"MetaWaylandXdgShellClient",
|
||||
"The shell client instance",
|
||||
pspec = g_param_spec_pointer ("shell-client", NULL, NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
g_object_class_install_property (object_class,
|
||||
XDG_SURFACE_PROP_SHELL_CLIENT,
|
||||
pspec);
|
||||
pspec = g_param_spec_pointer ("xdg-surface-resource",
|
||||
"xdg_surface wl_resource",
|
||||
"The xdg_surface wl_resource instance",
|
||||
pspec = g_param_spec_pointer ("xdg-surface-resource", NULL, NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_STATIC_STRINGS);
|
||||
g_object_class_install_property (object_class,
|
||||
|
@ -915,9 +915,7 @@ meta_window_wayland_class_init (MetaWindowWaylandClass *klass)
|
||||
window_class->get_wayland_surface = meta_window_wayland_get_wayland_surface;
|
||||
|
||||
obj_props[PROP_SURFACE] =
|
||||
g_param_spec_object ("surface",
|
||||
"Surface",
|
||||
"The corresponding Wayland surface",
|
||||
g_param_spec_object ("surface", NULL, NULL,
|
||||
META_TYPE_WAYLAND_SURFACE,
|
||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
||||
|
||||
|
@ -335,16 +335,12 @@ meta_window_xwayland_class_init (MetaWindowXwaylandClass *klass)
|
||||
gobject_class->set_property = meta_window_xwayland_set_property;
|
||||
|
||||
obj_props[PROP_XWAYLAND_MAY_GRAB_KEYBOARD] =
|
||||
g_param_spec_boolean ("xwayland-may-grab-keyboard",
|
||||
"Xwayland may use keyboard grabs",
|
||||
"Whether the client may use Xwayland keyboard grabs on this window",
|
||||
g_param_spec_boolean ("xwayland-may-grab-keyboard", NULL, NULL,
|
||||
FALSE,
|
||||
G_PARAM_READWRITE);
|
||||
|
||||
obj_props[PROP_SURFACE] =
|
||||
g_param_spec_object ("surface",
|
||||
"Surface",
|
||||
"The corresponding Wayland surface",
|
||||
g_param_spec_object ("surface", NULL, NULL,
|
||||
META_TYPE_WAYLAND_SURFACE,
|
||||
G_PARAM_CONSTRUCT |
|
||||
G_PARAM_READWRITE |
|
||||
|
@ -140,9 +140,7 @@ meta_startup_sequence_x11_class_init (MetaStartupSequenceX11Class *klass)
|
||||
object_class->get_property = meta_startup_sequence_x11_get_property;
|
||||
|
||||
seq_x11_props[PROP_SEQ_X11_SEQ] =
|
||||
g_param_spec_pointer ("seq",
|
||||
"Sequence",
|
||||
"Sequence",
|
||||
g_param_spec_pointer ("seq", NULL, NULL,
|
||||
G_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
|
@ -337,9 +337,7 @@ meta_x11_stack_class_init (MetaX11StackClass *klass)
|
||||
object_class->finalize = meta_x11_stack_finalize;
|
||||
|
||||
pspecs[PROP_DISPLAY] =
|
||||
g_param_spec_object ("display",
|
||||
"Display",
|
||||
"Display",
|
||||
g_param_spec_object ("display", NULL, NULL,
|
||||
META_TYPE_X11_DISPLAY,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
|
||||
|
@ -2232,9 +2232,7 @@ meta_window_x11_class_init (MetaWindowX11Class *klass)
|
||||
klass->process_property_notify = meta_window_x11_impl_process_property_notify;
|
||||
|
||||
obj_props[PROP_ATTRIBUTES] =
|
||||
g_param_spec_pointer ("attributes",
|
||||
"Attributes",
|
||||
"The corresponding attributes",
|
||||
g_param_spec_pointer ("attributes", NULL, NULL,
|
||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
|
||||
|
||||
g_object_class_install_properties (object_class, PROP_LAST, obj_props);
|
||||
|
Reference in New Issue
Block a user