Mark property strings for translation

Both the nick and the blurb fields should be translatable, for UI
builders and other introspection-based tools.
This commit is contained in:
Emmanuele Bassi 2010-06-03 12:57:50 +01:00
parent 8be43b5285
commit fd27ca7398
42 changed files with 586 additions and 590 deletions

View File

@ -157,8 +157,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_object ("actor", pspec = g_param_spec_object ("actor",
"Actor", P_("Actor"),
"The actor attached to the meta", P_("The actor attached to the meta"),
CLUTTER_TYPE_ACTOR, CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_ACTOR, pspec); g_object_class_install_property (gobject_class, PROP_ACTOR, pspec);
@ -171,8 +171,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_string ("name", pspec = g_param_spec_string ("name",
"Name", P_("Name"),
"The name of the meta", P_("The name of the meta"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_NAME, pspec); g_object_class_install_property (gobject_class, PROP_NAME, pspec);
@ -185,8 +185,8 @@ clutter_actor_meta_class_init (ClutterActorMetaClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_boolean ("enabled", pspec = g_param_spec_boolean ("enabled",
"Enabled", P_("Enabled"),
"Whether the meta is enabled", P_("Whether the meta is enabled"),
TRUE, TRUE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_ENABLED, pspec); g_object_class_install_property (gobject_class, PROP_ENABLED, pspec);

View File

@ -3483,8 +3483,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* otherwise the allocation if available, otherwise 0. * otherwise the allocation if available, otherwise 0.
*/ */
pspec = g_param_spec_float ("x", pspec = g_param_spec_float ("x",
"X coordinate", P_("X coordinate"),
"X coordinate of the actor", P_("X coordinate of the actor"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3498,8 +3498,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* any, otherwise the allocation if available, otherwise 0. * any, otherwise the allocation if available, otherwise 0.
*/ */
pspec = g_param_spec_float ("y", pspec = g_param_spec_float ("y",
"Y coordinate", P_("Y coordinate"),
"Y coordinate of the actor", P_("Y coordinate of the actor"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3513,8 +3513,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* the allocated width if available, otherwise the width request. * the allocated width if available, otherwise the width request.
*/ */
pspec = g_param_spec_float ("width", pspec = g_param_spec_float ("width",
"Width", P_("Width"),
"Width of the actor", P_("Width of the actor"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3527,8 +3527,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* the allocated height if available, otherwise the height request. * the allocated height if available, otherwise the height request.
*/ */
pspec = g_param_spec_float ("height", pspec = g_param_spec_float ("height",
"Height", P_("Height"),
"Height of the actor", P_("Height of the actor"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3545,8 +3545,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_float ("fixed-x", pspec = g_param_spec_float ("fixed-x",
"Fixed X", P_("Fixed X"),
"Forced X position of the actor", P_("Forced X position of the actor"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3563,8 +3563,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_float ("fixed-y", pspec = g_param_spec_float ("fixed-y",
"Fixed Y", P_("Fixed Y"),
"Forced Y position of the actor", P_("Forced Y position of the actor"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3579,9 +3579,9 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_boolean ("fixed-position-set", pspec = g_param_spec_boolean ("fixed-position-set",
"Fixed position set", P_("Fixed position set"),
"Whether to use fixed positioning " P_("Whether to use fixed positioning "
"for the actor", "for the actor"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -3601,8 +3601,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_float ("min-width", pspec = g_param_spec_float ("min-width",
"Min Width", P_("Min Width"),
"Forced minimum width request for the actor", P_("Forced minimum width request for the actor"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3620,8 +3620,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_float ("min-height", pspec = g_param_spec_float ("min-height",
"Min Height", P_("Min Height"),
"Forced minimum height request for the actor", P_("Forced minimum height request for the actor"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3639,8 +3639,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_float ("natural-width", pspec = g_param_spec_float ("natural-width",
"Natural Width", P_("Natural Width"),
"Forced natural width request for the actor", P_("Forced natural width request for the actor"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3658,8 +3658,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_float ("natural-height", pspec = g_param_spec_float ("natural-height",
"Natural Height", P_("Natural Height"),
"Forced natural height request for the actor", P_("Forced natural height request for the actor"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3674,8 +3674,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_boolean ("min-width-set", pspec = g_param_spec_boolean ("min-width-set",
"Minimum width set", P_("Minimum width set"),
"Whether to use the min-width property", P_("Whether to use the min-width property"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_MIN_WIDTH_SET, pspec); g_object_class_install_property (object_class, PROP_MIN_WIDTH_SET, pspec);
@ -3689,8 +3689,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_boolean ("min-height-set", pspec = g_param_spec_boolean ("min-height-set",
"Minimum height set", P_("Minimum height set"),
"Whether to use the min-height property", P_("Whether to use the min-height property"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_MIN_HEIGHT_SET, pspec); g_object_class_install_property (object_class, PROP_MIN_HEIGHT_SET, pspec);
@ -3704,8 +3704,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_boolean ("natural-width-set", pspec = g_param_spec_boolean ("natural-width-set",
"Natural width set", P_("Natural width set"),
"Whether to use the natural-width property", P_("Whether to use the natural-width property"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -3721,8 +3721,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_boolean ("natural-height-set", pspec = g_param_spec_boolean ("natural-height-set",
"Natural height set", P_("Natural height set"),
"Whether to use the natural-height property", P_("Whether to use the natural-height property"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -3740,8 +3740,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_boxed ("allocation", pspec = g_param_spec_boxed ("allocation",
"Allocation", P_("Allocation"),
"The actor's allocation", P_("The actor's allocation"),
CLUTTER_TYPE_ACTOR_BOX, CLUTTER_TYPE_ACTOR_BOX,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (object_class, PROP_ALLOCATION, pspec); g_object_class_install_property (object_class, PROP_ALLOCATION, pspec);
@ -3796,8 +3796,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_enum ("request-mode", pspec = g_param_spec_enum ("request-mode",
"Request Mode", P_("Request Mode"),
"The actor's request mode", P_("The actor's request mode"),
CLUTTER_TYPE_REQUEST_MODE, CLUTTER_TYPE_REQUEST_MODE,
CLUTTER_REQUEST_HEIGHT_FOR_WIDTH, CLUTTER_REQUEST_HEIGHT_FOR_WIDTH,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3811,8 +3811,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_float ("depth", pspec = g_param_spec_float ("depth",
"Depth", P_("Depth"),
"Position on the Z axis", P_("Position on the Z axis"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3825,8 +3825,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* 255 (fully opaque) * 255 (fully opaque)
*/ */
pspec = g_param_spec_uint ("opacity", pspec = g_param_spec_uint ("opacity",
"Opacity", P_("Opacity"),
"Opacity of an actor", P_("Opacity of an actor"),
0, 255, 0, 255,
255, 255,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3840,8 +3840,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* See also #ClutterActor:mapped * See also #ClutterActor:mapped
*/ */
pspec = g_param_spec_boolean ("visible", pspec = g_param_spec_boolean ("visible",
"Visible", P_("Visible"),
"Whether the actor is visible or not", P_("Whether the actor is visible or not"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_VISIBLE, pspec); g_object_class_install_property (object_class, PROP_VISIBLE, pspec);
@ -3855,8 +3855,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("mapped", pspec = g_param_spec_boolean ("mapped",
"Mapped", P_("Mapped"),
"Whether the actor will be painted", P_("Whether the actor will be painted"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (object_class, PROP_MAPPED, pspec); g_object_class_install_property (object_class, PROP_MAPPED, pspec);
@ -3869,8 +3869,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("realized", pspec = g_param_spec_boolean ("realized",
"Realized", P_("Realized"),
"Whether the actor has been realized", P_("Whether the actor has been realized"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (object_class, PROP_REALIZED, pspec); g_object_class_install_property (object_class, PROP_REALIZED, pspec);
@ -3885,8 +3885,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_boolean ("reactive", pspec = g_param_spec_boolean ("reactive",
"Reactive", P_("Reactive"),
"Whether the actor is reactive to events", P_("Whether the actor is reactive to events"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_REACTIVE, pspec); g_object_class_install_property (object_class, PROP_REACTIVE, pspec);
@ -3897,8 +3897,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Whether the actor has the #ClutterActor:clip property set or not * Whether the actor has the #ClutterActor:clip property set or not
*/ */
pspec = g_param_spec_boolean ("has-clip", pspec = g_param_spec_boolean ("has-clip",
"Has Clip", P_("Has Clip"),
"Whether the actor has a clip set", P_("Whether the actor has a clip set"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (object_class, PROP_HAS_CLIP, pspec); g_object_class_install_property (object_class, PROP_HAS_CLIP, pspec);
@ -3912,8 +3912,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* painted * painted
*/ */
pspec = g_param_spec_boxed ("clip", pspec = g_param_spec_boxed ("clip",
"Clip", P_("Clip"),
"The clip region for the actor", P_("The clip region for the actor"),
CLUTTER_TYPE_GEOMETRY, CLUTTER_TYPE_GEOMETRY,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_CLIP, pspec); g_object_class_install_property (object_class, PROP_CLIP, pspec);
@ -3926,8 +3926,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_string ("name", pspec = g_param_spec_string ("name",
"Name", P_("Name"),
"Name of the actor", P_("Name of the actor"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_NAME, pspec); g_object_class_install_property (object_class, PROP_NAME, pspec);
@ -3940,8 +3940,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("scale-x", pspec = g_param_spec_double ("scale-x",
"Scale X", P_("Scale X"),
"Scale factor on the X axis", P_("Scale factor on the X axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3955,8 +3955,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("scale-y", pspec = g_param_spec_double ("scale-y",
"Scale Y", P_("Scale Y"),
"Scale factor on the Y axis", P_("Scale factor on the Y axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3970,8 +3970,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_float ("scale-center-x", pspec = g_param_spec_float ("scale-center-x",
"Scale-Center-X", P_("Scale Center X"),
"Horizontal scale center", P_("Horizontal scale center"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -3985,8 +3985,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_float ("scale-center-y", pspec = g_param_spec_float ("scale-center-y",
"Scale-Center-Y", P_("Scale Center Y"),
"Vertical scale center", P_("Vertical scale center"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4000,8 +4000,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_enum ("scale-gravity", pspec = g_param_spec_enum ("scale-gravity",
"Scale-Gravity", P_("Scale Gravity"),
"The center of scaling", P_("The center of scaling"),
CLUTTER_TYPE_GRAVITY, CLUTTER_TYPE_GRAVITY,
CLUTTER_GRAVITY_NONE, CLUTTER_GRAVITY_NONE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4017,8 +4017,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("rotation-angle-x", pspec = g_param_spec_double ("rotation-angle-x",
"Rotation Angle X", P_("Rotation Angle X"),
"The rotation angle on the X axis", P_("The rotation angle on the X axis"),
-G_MAXDOUBLE, G_MAXDOUBLE, -G_MAXDOUBLE, G_MAXDOUBLE,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4032,8 +4032,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("rotation-angle-y", pspec = g_param_spec_double ("rotation-angle-y",
"Rotation Angle Y", P_("Rotation Angle Y"),
"The rotation angle on the Y axis", P_("The rotation angle on the Y axis"),
-G_MAXDOUBLE, G_MAXDOUBLE, -G_MAXDOUBLE, G_MAXDOUBLE,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4047,8 +4047,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("rotation-angle-z", pspec = g_param_spec_double ("rotation-angle-z",
"Rotation Angle Z", P_("Rotation Angle Z"),
"The rotation angle on the Z axis", P_("The rotation angle on the Z axis"),
-G_MAXDOUBLE, G_MAXDOUBLE, -G_MAXDOUBLE, G_MAXDOUBLE,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4062,8 +4062,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_boxed ("rotation-center-x", pspec = g_param_spec_boxed ("rotation-center-x",
"Rotation Center X", P_("Rotation Center X"),
"The rotation center on the X axis", P_("The rotation center on the X axis"),
CLUTTER_TYPE_VERTEX, CLUTTER_TYPE_VERTEX,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -4078,8 +4078,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_boxed ("rotation-center-y", pspec = g_param_spec_boxed ("rotation-center-y",
"Rotation Center Y", P_("Rotation Center Y"),
"The rotation center on the Y axis", P_("The rotation center on the Y axis"),
CLUTTER_TYPE_VERTEX, CLUTTER_TYPE_VERTEX,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -4094,8 +4094,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_boxed ("rotation-center-z", pspec = g_param_spec_boxed ("rotation-center-z",
"Rotation Center Z", P_("Rotation Center Z"),
"The rotation center on the Z axis", P_("The rotation center on the Z axis"),
CLUTTER_TYPE_VERTEX, CLUTTER_TYPE_VERTEX,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -4110,8 +4110,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_enum ("rotation-center-z-gravity", pspec = g_param_spec_enum ("rotation-center-z-gravity",
"Rotation-Center-Z-Gravity", P_("Rotation Center Z Gravity"),
"Center point for rotation around the Z axis", P_("Center point for rotation around the Z axis"),
CLUTTER_TYPE_GRAVITY, CLUTTER_TYPE_GRAVITY,
CLUTTER_GRAVITY_NONE, CLUTTER_GRAVITY_NONE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4128,8 +4128,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_float ("anchor-x", pspec = g_param_spec_float ("anchor-x",
"Anchor X", P_("Anchor X"),
"X coordinate of the anchor point", P_("X coordinate of the anchor point"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4144,8 +4144,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_float ("anchor-y", pspec = g_param_spec_float ("anchor-y",
"Anchor Y", P_("Anchor Y"),
"Y coordinate of the anchor point", P_("Y coordinate of the anchor point"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4159,8 +4159,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_enum ("anchor-gravity", pspec = g_param_spec_enum ("anchor-gravity",
"Anchor-Gravity", P_("Anchor Gravity"),
"The anchor point as a ClutterGravity", P_("The anchor point as a ClutterGravity"),
CLUTTER_TYPE_GRAVITY, CLUTTER_TYPE_GRAVITY,
CLUTTER_GRAVITY_NONE, CLUTTER_GRAVITY_NONE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4178,8 +4178,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_boolean ("show-on-set-parent", pspec = g_param_spec_boolean ("show-on-set-parent",
"Show on set parent", P_("Show on set parent"),
"Whether the actor is shown when parented", P_("Whether the actor is shown when parented"),
TRUE, TRUE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -4198,9 +4198,9 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("clip-to-allocation", pspec = g_param_spec_boolean ("clip-to-allocation",
"Clip to Allocation", P_("Clip to Allocation"),
"Sets the clip region to track the " P_("Sets the clip region to track the "
"actor's allocation", "actor's allocation"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -4208,8 +4208,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
pspec); pspec);
pspec = g_param_spec_enum ("text-direction", pspec = g_param_spec_enum ("text-direction",
"Text Direction", P_("Text Direction"),
"Direction of the text", P_("Direction of the text"),
CLUTTER_TYPE_TEXT_DIRECTION, CLUTTER_TYPE_TEXT_DIRECTION,
CLUTTER_TEXT_DIRECTION_LTR, CLUTTER_TEXT_DIRECTION_LTR,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -4226,9 +4226,9 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_boolean ("has-pointer", pspec = g_param_spec_boolean ("has-pointer",
"Has Pointer", P_("Has Pointer"),
"Whether the actor contains the pointer " P_("Whether the actor contains the pointer "
"of an input device", "of an input device"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -4243,8 +4243,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_object ("actions", pspec = g_param_spec_object ("actions",
"Actions", P_("Actions"),
"Adds an action to the actor", P_("Adds an action to the actor"),
CLUTTER_TYPE_ACTION, CLUTTER_TYPE_ACTION,
CLUTTER_PARAM_WRITABLE); CLUTTER_PARAM_WRITABLE);
g_object_class_install_property (object_class, PROP_ACTIONS, pspec); g_object_class_install_property (object_class, PROP_ACTIONS, pspec);
@ -4257,8 +4257,8 @@ clutter_actor_class_init (ClutterActorClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_object ("constraints", pspec = g_param_spec_object ("constraints",
"Constraints", P_("Constraints"),
"Adds a constraint to the actor", P_("Adds a constraint to the actor"),
CLUTTER_TYPE_CONSTRAINT, CLUTTER_TYPE_CONSTRAINT,
CLUTTER_PARAM_WRITABLE); CLUTTER_PARAM_WRITABLE);
g_object_class_install_property (object_class, PROP_CONSTRAINTS, pspec); g_object_class_install_property (object_class, PROP_CONSTRAINTS, pspec);

View File

@ -206,8 +206,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_object ("source", pspec = g_param_spec_object ("source",
"Source", P_("Source"),
"The source of the alignment", P_("The source of the alignment"),
CLUTTER_TYPE_ACTOR, CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT); G_PARAM_CONSTRUCT);
@ -221,8 +221,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_enum ("align-axis", pspec = g_param_spec_enum ("align-axis",
"Align Axis", P_("Align Axis"),
"The axis to align the position to", P_("The axis to align the position to"),
CLUTTER_TYPE_ALIGN_AXIS, CLUTTER_TYPE_ALIGN_AXIS,
CLUTTER_ALIGN_X_AXIS, CLUTTER_ALIGN_X_AXIS,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
@ -242,8 +242,8 @@ clutter_align_constraint_class_init (ClutterAlignConstraintClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_float ("factor", pspec = g_param_spec_float ("factor",
"Factor", P_("Factor"),
"The alignment factor, between 0.0 and 1.0", P_("The alignment factor, between 0.0 and 1.0"),
0.0, 1.0, 0.0, 1.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |

View File

@ -332,8 +332,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_object ("timeline", pspec = g_param_spec_object ("timeline",
"Timeline", P_("Timeline"),
"Timeline used by the alpha", P_("Timeline used by the alpha"),
CLUTTER_TYPE_TIMELINE, CLUTTER_TYPE_TIMELINE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_TIMELINE, pspec); g_object_class_install_property (object_class, PROP_TIMELINE, pspec);
@ -348,8 +348,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_double ("alpha", pspec = g_param_spec_double ("alpha",
"Alpha value", P_("Alpha value"),
"Alpha value", P_("Alpha value as computed by the alpha"),
-1.0, 2.0, -1.0, 2.0,
0.0, 0.0,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
@ -369,8 +369,8 @@ clutter_alpha_class_init (ClutterAlphaClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_ulong ("mode", pspec = g_param_spec_ulong ("mode",
"Mode", P_("Mode"),
"Progress mode", P_("Progress mode"),
0, G_MAXULONG, 0, G_MAXULONG,
CLUTTER_CUSTOM_MODE, CLUTTER_CUSTOM_MODE,
G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE); G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE);

View File

@ -458,8 +458,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_object ("object", pspec = g_param_spec_object ("object",
"Object", P_("Object"),
"Object to which the animation applies", P_("Object to which the animation applies"),
G_TYPE_OBJECT, G_TYPE_OBJECT,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_OBJECT, pspec); g_object_class_install_property (gobject_class, PROP_OBJECT, pspec);
@ -474,8 +474,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_ulong ("mode", pspec = g_param_spec_ulong ("mode",
"Mode", P_("Mode"),
"The mode of the animation", P_("The mode of the animation"),
0, G_MAXULONG, 0, G_MAXULONG,
CLUTTER_LINEAR, CLUTTER_LINEAR,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -489,8 +489,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_uint ("duration", pspec = g_param_spec_uint ("duration",
"Duration", P_("Duration"),
"Duration of the animation, in milliseconds", P_("Duration of the animation, in milliseconds"),
0, G_MAXUINT, 0, 0, G_MAXUINT, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_DURATION, pspec); g_object_class_install_property (gobject_class, PROP_DURATION, pspec);
@ -503,8 +503,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("loop", pspec = g_param_spec_boolean ("loop",
"Loop", P_("Loop"),
"Whether the animation should loop", P_("Whether the animation should loop"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_LOOP, pspec); g_object_class_install_property (gobject_class, PROP_LOOP, pspec);
@ -517,8 +517,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_object ("timeline", pspec = g_param_spec_object ("timeline",
"Timeline", P_("Timeline"),
"The timeline used by the animation", P_("The timeline used by the animation"),
CLUTTER_TYPE_TIMELINE, CLUTTER_TYPE_TIMELINE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec); g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec);
@ -531,8 +531,8 @@ clutter_animation_class_init (ClutterAnimationClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_object ("alpha", pspec = g_param_spec_object ("alpha",
"Alpha", P_("Alpha"),
"The alpha used by the animation", P_("The alpha used by the animation"),
CLUTTER_TYPE_ALPHA, CLUTTER_TYPE_ALPHA,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_ALPHA, pspec); g_object_class_install_property (gobject_class, PROP_ALPHA, pspec);

View File

@ -1783,8 +1783,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_uint ("duration", pspec = g_param_spec_uint ("duration",
"Duration", P_("Duration"),
"The duration of the animation", P_("The duration of the animation"),
0, G_MAXUINT, 0, G_MAXUINT,
2000, 2000,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -1799,8 +1799,8 @@ clutter_animator_class_init (ClutterAnimatorClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_object ("timeline", pspec = g_param_spec_object ("timeline",
"Timeline", P_("Timeline"),
"The timeline of the animation", P_("The timeline of the animation"),
CLUTTER_TYPE_TIMELINE, CLUTTER_TYPE_TIMELINE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec); g_object_class_install_property (gobject_class, PROP_TIMELINE, pspec);

View File

@ -167,8 +167,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DEPTH_START, PROP_DEPTH_START,
g_param_spec_int ("depth-start", g_param_spec_int ("depth-start",
"Start Depth", P_("Start Depth"),
"Initial depth to apply", P_("Initial depth to apply"),
G_MININT, G_MAXINT, 0, G_MININT, G_MAXINT, 0,
CLUTTER_PARAM_READWRITE)); CLUTTER_PARAM_READWRITE));
/** /**
@ -181,8 +181,8 @@ clutter_behaviour_depth_class_init (ClutterBehaviourDepthClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DEPTH_END, PROP_DEPTH_END,
g_param_spec_int ("depth-end", g_param_spec_int ("depth-end",
"End Depth", P_("End Depth"),
"Final depth to apply", P_("Final depth to apply"),
G_MININT, G_MAXINT, 0, G_MININT, G_MAXINT, 0,
CLUTTER_PARAM_READWRITE)); CLUTTER_PARAM_READWRITE));
} }

View File

@ -386,8 +386,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-start", pspec = g_param_spec_double ("angle-start",
"Start Angle", P_("Start Angle"),
"Initial angle", P_("Initial angle"),
0.0, 360.0, 0.0, 360.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -401,8 +401,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-end", pspec = g_param_spec_double ("angle-end",
"End Angle", P_("End Angle"),
"Final angle", P_("Final angle"),
0.0, 360.0, 0.0, 360.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -416,8 +416,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-tilt-x", pspec = g_param_spec_double ("angle-tilt-x",
"Angle x tilt", P_("Angle x tilt"),
"Tilt of the ellipse around x axis", P_("Tilt of the ellipse around x axis"),
0.0, 360.0, 0.0, 360.0,
360.0, 360.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -431,8 +431,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-tilt-y", pspec = g_param_spec_double ("angle-tilt-y",
"Angle y tilt", P_("Angle y tilt"),
"Tilt of the ellipse around y axis", P_("Tilt of the ellipse around y axis"),
0.0, 360.0, 0.0, 360.0,
360.0, 360.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -446,8 +446,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-tilt-z", pspec = g_param_spec_double ("angle-tilt-z",
"Angle z tilt", P_("Angle z tilt"),
"Tilt of the ellipse around z axis", P_("Tilt of the ellipse around z axis"),
0.0, 360.0, 0.0, 360.0,
360.0, 360.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -461,8 +461,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("width", pspec = g_param_spec_int ("width",
"Width", P_("Width"),
"Width of the ellipse", P_("Width of the ellipse"),
0, G_MAXINT, 0, G_MAXINT,
100, 100,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -476,8 +476,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("height", pspec = g_param_spec_int ("height",
"Height", P_("Height"),
"Height of ellipse", P_("Height of ellipse"),
0, G_MAXINT, 0, G_MAXINT,
50, 50,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -491,8 +491,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_boxed ("center", pspec = g_param_spec_boxed ("center",
"Center", P_("Center"),
"Center of ellipse", P_("Center of ellipse"),
CLUTTER_TYPE_KNOT, CLUTTER_TYPE_KNOT,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_CENTER, pspec); g_object_class_install_property (object_class, PROP_CENTER, pspec);
@ -505,8 +505,8 @@ clutter_behaviour_ellipse_class_init (ClutterBehaviourEllipseClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_enum ("direction", pspec = g_param_spec_enum ("direction",
"Direction", P_("Direction"),
"Direction of rotation", P_("Direction of rotation"),
CLUTTER_TYPE_ROTATE_DIRECTION, CLUTTER_TYPE_ROTATE_DIRECTION,
CLUTTER_ROTATE_CW, CLUTTER_ROTATE_CW,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -177,8 +177,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_uint ("opacity-start", pspec = g_param_spec_uint ("opacity-start",
"Opacity Start", P_("Opacity Start"),
"Initial opacity level", P_("Initial opacity level"),
0, 255, 0, 255,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -192,8 +192,8 @@ clutter_behaviour_opacity_class_init (ClutterBehaviourOpacityClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_uint ("opacity-end", pspec = g_param_spec_uint ("opacity-end",
"Opacity End", P_("Opacity End"),
"Final opacity level", P_("Final opacity level"),
0, 255, 0, 255,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -210,9 +210,9 @@ clutter_behaviour_path_class_init (ClutterBehaviourPathClass *klass)
gobject_class->dispose = clutter_behaviour_path_dispose; gobject_class->dispose = clutter_behaviour_path_dispose;
pspec = g_param_spec_object ("path", pspec = g_param_spec_object ("path",
"Path", P_("Path"),
"The ClutterPath object representing the path " P_("The ClutterPath object representing the path "
"to animate along", "to animate along"),
CLUTTER_TYPE_PATH, CLUTTER_TYPE_PATH,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_PATH, pspec); g_object_class_install_property (gobject_class, PROP_PATH, pspec);

View File

@ -270,8 +270,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-start", pspec = g_param_spec_double ("angle-start",
"Angle Begin", P_("Angle Begin"),
"Initial angle", P_("Initial angle"),
0.0, 360.0, 0.0, 360.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -287,8 +287,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_double ("angle-end", pspec = g_param_spec_double ("angle-end",
"Angle End", P_("Angle End"),
"Final angle", P_("Final angle"),
0.0, 360.0, 0.0, 360.0,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -304,8 +304,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_enum ("axis", pspec = g_param_spec_enum ("axis",
"Axis", P_("Axis"),
"Axis of rotation", P_("Axis of rotation"),
CLUTTER_TYPE_ROTATE_AXIS, CLUTTER_TYPE_ROTATE_AXIS,
CLUTTER_Z_AXIS, CLUTTER_Z_AXIS,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -321,8 +321,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_enum ("direction", pspec = g_param_spec_enum ("direction",
"Direction", P_("Direction"),
"Direction of rotation", P_("Direction of rotation"),
CLUTTER_TYPE_ROTATE_DIRECTION, CLUTTER_TYPE_ROTATE_DIRECTION,
CLUTTER_ROTATE_CW, CLUTTER_ROTATE_CW,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -338,8 +338,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("center-x", pspec = g_param_spec_int ("center-x",
"Center-X", P_("Center X"),
"X center of rotation", P_("X coordinate of the center of rotation"),
-G_MAXINT, G_MAXINT, -G_MAXINT, G_MAXINT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -355,8 +355,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("center-y", pspec = g_param_spec_int ("center-y",
"Center-Y", P_("Center Y"),
"Y center of rotation", P_("Y coordinate of the center of rotation"),
-G_MAXINT, G_MAXINT, -G_MAXINT, G_MAXINT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -372,8 +372,8 @@ clutter_behaviour_rotate_class_init (ClutterBehaviourRotateClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_int ("center-z", pspec = g_param_spec_int ("center-z",
"Center-Z", P_("Center Z"),
"Z center of rotation", P_("Z coordinate of the center of rotation"),
-G_MAXINT, G_MAXINT, -G_MAXINT, G_MAXINT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -209,8 +209,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("x-scale-start", pspec = g_param_spec_double ("x-scale-start",
"X Start Scale", P_("X Start Scale"),
"Initial scale on the X axis", P_("Initial scale on the X axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -225,8 +225,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("x-scale-end", pspec = g_param_spec_double ("x-scale-end",
"X End Scale", P_("X End Scale"),
"Final scale on the X axis", P_("Final scale on the X axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -241,8 +241,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("y-scale-start", pspec = g_param_spec_double ("y-scale-start",
"Y Start Scale", P_("Y Start Scale"),
"Initial scale on the Y axis", P_("Initial scale on the Y axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -257,8 +257,8 @@ clutter_behaviour_scale_class_init (ClutterBehaviourScaleClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_double ("y-scale-end", pspec = g_param_spec_double ("y-scale-end",
"Y End Scale", P_("Y End Scale"),
"Final scale on the Y axis", P_("Final scale on the Y axis"),
0.0, G_MAXDOUBLE, 0.0, G_MAXDOUBLE,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -284,6 +284,7 @@ static void
clutter_behaviour_class_init (ClutterBehaviourClass *klass) clutter_behaviour_class_init (ClutterBehaviourClass *klass)
{ {
GObjectClass *object_class = G_OBJECT_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass);
GParamSpec *pspec;
object_class->dispose = clutter_behaviour_dispose; object_class->dispose = clutter_behaviour_dispose;
object_class->set_property = clutter_behaviour_set_property; object_class->set_property = clutter_behaviour_set_property;
@ -299,13 +300,12 @@ clutter_behaviour_class_init (ClutterBehaviourClass *klass)
* *
* Since: 0.2 * Since: 0.2
*/ */
g_object_class_install_property (object_class, pspec = g_param_spec_object ("alpha",
PROP_ALPHA, P_("Alpha"),
g_param_spec_object ("alpha", P_("Alpha Object to drive the behaviour"),
"Alpha", CLUTTER_TYPE_ALPHA,
"Alpha Object to drive the behaviour", CLUTTER_PARAM_READWRITE);
CLUTTER_TYPE_ALPHA, g_object_class_install_property (object_class, PROP_ALPHA, pspec);
CLUTTER_PARAM_READWRITE));
klass->alpha_notify = clutter_behaviour_alpha_notify_unimplemented; klass->alpha_notify = clutter_behaviour_alpha_notify_unimplemented;

View File

@ -251,9 +251,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass)
gobject_class->get_property = clutter_bin_layer_get_property; gobject_class->get_property = clutter_bin_layer_get_property;
pspec = g_param_spec_enum ("x-align", pspec = g_param_spec_enum ("x-align",
"Horizontal Alignment", P_("Horizontal Alignment"),
"Horizontal alignment for the actor " P_("Horizontal alignment for the actor "
"inside the layer", "inside the layer"),
CLUTTER_TYPE_BIN_ALIGNMENT, CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -262,9 +262,9 @@ clutter_bin_layer_class_init (ClutterBinLayerClass *klass)
pspec); pspec);
pspec = g_param_spec_enum ("y-align", pspec = g_param_spec_enum ("y-align",
"Vertical Alignment", P_("Vertical Alignment"),
"Vertical alignment for the actor " P_("Vertical alignment for the actor "
"inside the layer manager", "inside the layer manager"),
CLUTTER_TYPE_BIN_ALIGNMENT, CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -640,9 +640,9 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_enum ("x-align", pspec = g_param_spec_enum ("x-align",
"Horizontal Alignment", P_("Horizontal Alignment"),
"Default horizontal alignment for the actors " P_("Default horizontal alignment for the actors "
"inside the layout manager", "inside the layout manager"),
CLUTTER_TYPE_BIN_ALIGNMENT, CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -657,9 +657,9 @@ clutter_bin_layout_class_init (ClutterBinLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_enum ("y-align", pspec = g_param_spec_enum ("y-align",
"Vertical Alignment", P_("Vertical Alignment"),
"Default vertical alignment for the actors " P_("Default vertical alignment for the actors "
"inside the layout manager", "inside the layout manager"),
CLUTTER_TYPE_BIN_ALIGNMENT, CLUTTER_TYPE_BIN_ALIGNMENT,
CLUTTER_BIN_ALIGNMENT_CENTER, CLUTTER_BIN_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -266,8 +266,8 @@ clutter_bind_constraint_class_init (ClutterBindConstraintClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_object ("source", pspec = g_param_spec_object ("source",
"Source", P_("Source"),
"The source of the binding", P_("The source of the binding"),
CLUTTER_TYPE_ACTOR, CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT); G_PARAM_CONSTRUCT);
@ -281,8 +281,8 @@ clutter_bind_constraint_class_init (ClutterBindConstraintClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_enum ("coordinate", pspec = g_param_spec_enum ("coordinate",
"Coordinate", P_("Coordinate"),
"The coordinate to bind", P_("The coordinate to bind"),
CLUTTER_TYPE_BIND_COORDINATE, CLUTTER_TYPE_BIND_COORDINATE,
CLUTTER_BIND_X, CLUTTER_BIND_X,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
@ -297,8 +297,8 @@ clutter_bind_constraint_class_init (ClutterBindConstraintClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_float ("offset", pspec = g_param_spec_float ("offset",
"Offset", P_("Offset"),
"The offset in pixels to apply to the binding", P_("The offset in pixels to apply to the binding"),
-G_MAXFLOAT, G_MAXFLOAT, -G_MAXFLOAT, G_MAXFLOAT,
0.0f, 0.0f,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |

View File

@ -313,8 +313,8 @@ clutter_binding_pool_class_init (ClutterBindingPoolClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_string ("name", pspec = g_param_spec_string ("name",
"Name", P_("Name"),
"The unique name of the binding pool", P_("The unique name of the binding pool"),
NULL, NULL,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY); G_PARAM_CONSTRUCT_ONLY);

View File

@ -381,43 +381,43 @@ clutter_box_child_class_init (ClutterBoxChildClass *klass)
gobject_class->finalize = clutter_box_child_finalize; gobject_class->finalize = clutter_box_child_finalize;
pspec = g_param_spec_boolean ("expand", pspec = g_param_spec_boolean ("expand",
"Expand", P_("Expand"),
"Allocate extra space for the child", P_("Allocate extra space for the child"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CHILD_EXPAND, pspec); g_object_class_install_property (gobject_class, PROP_CHILD_EXPAND, pspec);
pspec = g_param_spec_boolean ("x-fill", pspec = g_param_spec_boolean ("x-fill",
"Horizontal Fill", P_("Horizontal Fill"),
"Whether the child should receive priority " P_("Whether the child should receive priority "
"when the container is allocating spare space " "when the container is allocating spare space "
"on the horizontal axis", "on the horizontal axis"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CHILD_X_FILL, pspec); g_object_class_install_property (gobject_class, PROP_CHILD_X_FILL, pspec);
pspec = g_param_spec_boolean ("y-fill", pspec = g_param_spec_boolean ("y-fill",
"Vertical Fill", P_("Vertical Fill"),
"Whether the child should receive priority " P_("Whether the child should receive priority "
"when the container is allocating spare space " "when the container is allocating spare space "
"on the vertical axis", "on the vertical axis"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CHILD_Y_FILL, pspec); g_object_class_install_property (gobject_class, PROP_CHILD_Y_FILL, pspec);
pspec = g_param_spec_enum ("x-align", pspec = g_param_spec_enum ("x-align",
"Horizontal Alignment", P_("Horizontal Alignment"),
"Horizontal alignment of the actor within " P_("Horizontal alignment of the actor within "
"the cell", "the cell"),
CLUTTER_TYPE_BOX_ALIGNMENT, CLUTTER_TYPE_BOX_ALIGNMENT,
CLUTTER_BOX_ALIGNMENT_CENTER, CLUTTER_BOX_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CHILD_X_ALIGN, pspec); g_object_class_install_property (gobject_class, PROP_CHILD_X_ALIGN, pspec);
pspec = g_param_spec_enum ("y-align", pspec = g_param_spec_enum ("y-align",
"Vertical Alignment", P_("Vertical Alignment"),
"Vertical alignment of the actor within " P_("Vertical alignment of the actor within "
"the cell", "the cell"),
CLUTTER_TYPE_BOX_ALIGNMENT, CLUTTER_TYPE_BOX_ALIGNMENT,
CLUTTER_BOX_ALIGNMENT_CENTER, CLUTTER_BOX_ALIGNMENT_CENTER,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -1160,9 +1160,9 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_boolean ("vertical", pspec = g_param_spec_boolean ("vertical",
"Vertical", P_("Vertical"),
"Whether the layout should be vertical, rather" P_("Whether the layout should be vertical, rather"
"than horizontal", "than horizontal"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_VERTICAL, pspec); g_object_class_install_property (gobject_class, PROP_VERTICAL, pspec);
@ -1176,9 +1176,9 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_boolean ("homogeneous", pspec = g_param_spec_boolean ("homogeneous",
"Homogeneous", P_("Homogeneous"),
"Whether the layout should be homogeneous, i.e." P_("Whether the layout should be homogeneous, i.e."
"all childs get the same size", "all childs get the same size"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_HOMOGENEOUS, pspec); g_object_class_install_property (gobject_class, PROP_HOMOGENEOUS, pspec);
@ -1192,8 +1192,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_boolean ("pack-start", pspec = g_param_spec_boolean ("pack-start",
"Pack Start", P_("Pack Start"),
"Whether to pack items at the start of the box", P_("Whether to pack items at the start of the box"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_PACK_START, pspec); g_object_class_install_property (gobject_class, PROP_PACK_START, pspec);
@ -1206,8 +1206,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_uint ("spacing", pspec = g_param_spec_uint ("spacing",
"Spacing", P_("Spacing"),
"Spacing between children", P_("Spacing between children"),
0, G_MAXUINT, 0, 0, G_MAXUINT, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_SPACING, pspec); g_object_class_install_property (gobject_class, PROP_SPACING, pspec);
@ -1221,8 +1221,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_boolean ("use-animations", pspec = g_param_spec_boolean ("use-animations",
"Use Animations", P_("Use Animations"),
"Whether layout changes should be animated", P_("Whether layout changes should be animated"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_USE_ANIMATIONS, pspec); g_object_class_install_property (gobject_class, PROP_USE_ANIMATIONS, pspec);
@ -1243,8 +1243,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_ulong ("easing-mode", pspec = g_param_spec_ulong ("easing-mode",
"Easing Mode", P_("Easing Mode"),
"The easing mode of the animations", P_("The easing mode of the animations"),
0, G_MAXULONG, 0, G_MAXULONG,
CLUTTER_EASE_OUT_CUBIC, CLUTTER_EASE_OUT_CUBIC,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -1261,8 +1261,8 @@ clutter_box_layout_class_init (ClutterBoxLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_uint ("easing-duration", pspec = g_param_spec_uint ("easing-duration",
"Easing Duration", P_("Easing Duration"),
"The duration of the animations", P_("The duration of the animations"),
0, G_MAXUINT, 0, G_MAXUINT,
500, 500,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -487,8 +487,8 @@ clutter_box_class_init (ClutterBoxClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_object ("layout-manager", pspec = g_param_spec_object ("layout-manager",
"Layout Manager", P_("Layout Manager"),
"The layout manager used by the box", P_("The layout manager used by the box"),
CLUTTER_TYPE_LAYOUT_MANAGER, CLUTTER_TYPE_LAYOUT_MANAGER,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT); G_PARAM_CONSTRUCT);
@ -506,8 +506,8 @@ clutter_box_class_init (ClutterBoxClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = clutter_param_spec_color ("color", pspec = clutter_param_spec_color ("color",
"Color", P_("Color"),
"The background color of the box", P_("The background color of the box"),
&default_box_color, &default_box_color,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_COLOR, pspec); g_object_class_install_property (gobject_class, PROP_COLOR, pspec);
@ -520,8 +520,8 @@ clutter_box_class_init (ClutterBoxClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_boolean ("color-set", pspec = g_param_spec_boolean ("color-set",
"Color Set", P_("Color Set"),
"Whether the background color is set", P_("Whether the background color is set"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_COLOR_SET, pspec); g_object_class_install_property (gobject_class, PROP_COLOR_SET, pspec);

View File

@ -390,8 +390,8 @@ clutter_cairo_texture_class_init (ClutterCairoTextureClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_uint ("surface-width", pspec = g_param_spec_uint ("surface-width",
"Surface Width", P_("Surface Width"),
"The width of the Cairo surface", P_("The width of the Cairo surface"),
0, G_MAXUINT, 0, G_MAXUINT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -407,8 +407,8 @@ clutter_cairo_texture_class_init (ClutterCairoTextureClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_uint ("surface-height", pspec = g_param_spec_uint ("surface-height",
"Surface-Height", P_("Surface Height"),
"The height of the Cairo surface", P_("The height of the Cairo surface"),
0, G_MAXUINT, 0, G_MAXUINT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -120,8 +120,8 @@ clutter_child_meta_class_init (ClutterChildMetaClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_object ("container", pspec = g_param_spec_object ("container",
"Container", P_("Container"),
"The container that created this data", P_("The container that created this data"),
CLUTTER_TYPE_CONTAINER, CLUTTER_TYPE_CONTAINER,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_CONSTRUCT_ONLY |
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -135,8 +135,8 @@ clutter_child_meta_class_init (ClutterChildMetaClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_object ("actor", pspec = g_param_spec_object ("actor",
"Actor", P_("Actor"),
"The actor wrapped by this data", P_("The actor wrapped by this data"),
CLUTTER_TYPE_ACTOR, CLUTTER_TYPE_ACTOR,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_CONSTRUCT_ONLY |
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -233,9 +233,8 @@ clutter_click_action_class_init (ClutterClickActionClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_boolean ("pressed", pspec = g_param_spec_boolean ("pressed",
"Pressed", P_("Pressed"),
"Whether the clickable should " P_("Whether the clickable should be in pressed state"),
"be in pressed state",
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_PRESSED, pspec); g_object_class_install_property (gobject_class, PROP_PRESSED, pspec);
@ -248,8 +247,8 @@ clutter_click_action_class_init (ClutterClickActionClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_boolean ("held", pspec = g_param_spec_boolean ("held",
"Held", P_("Held"),
"Whether the clickable has a grab", P_("Whether the clickable has a grab"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_HELD, pspec); g_object_class_install_property (gobject_class, PROP_HELD, pspec);

View File

@ -271,8 +271,8 @@ clutter_clone_class_init (ClutterCloneClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_object ("source", pspec = g_param_spec_object ("source",
"Source", P_("Source"),
"Specifies the actor to be cloned", P_("Specifies the actor to be cloned"),
CLUTTER_TYPE_ACTOR, CLUTTER_TYPE_ACTOR,
G_PARAM_CONSTRUCT | G_PARAM_CONSTRUCT |
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -208,8 +208,8 @@ clutter_colorize_effect_class_init (ClutterColorizeEffectClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = clutter_param_spec_color ("tint", pspec = clutter_param_spec_color ("tint",
"Tint", P_("Tint"),
"The tint to apply", P_("The tint to apply"),
&default_tint, &default_tint,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_TINT, pspec); g_object_class_install_property (gobject_class, PROP_TINT, pspec);

View File

@ -518,8 +518,8 @@ clutter_deform_effect_class_init (ClutterDeformEffectClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_uint ("x-tiles", pspec = g_param_spec_uint ("x-tiles",
"Horiontal Tiles", P_("Horiontal Tiles"),
"The number of horizontal tiles", P_("The number of horizontal tiles"),
1, G_MAXUINT, 1, G_MAXUINT,
DEFAULT_N_TILES, DEFAULT_N_TILES,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -534,8 +534,8 @@ clutter_deform_effect_class_init (ClutterDeformEffectClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_uint ("y-tiles", pspec = g_param_spec_uint ("y-tiles",
"Vertical Tiles", P_("Vertical Tiles"),
"The number of vertical tiles", P_("The number of vertical tiles"),
1, G_MAXUINT, 1, G_MAXUINT,
DEFAULT_N_TILES, DEFAULT_N_TILES,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -552,9 +552,8 @@ clutter_deform_effect_class_init (ClutterDeformEffectClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_boxed ("back-material", pspec = g_param_spec_boxed ("back-material",
"Back Material", P_("Back Material"),
"The material to be used when painting the " P_("The material to be used when painting the back of the actor"),
"back of the actor",
COGL_TYPE_HANDLE, COGL_TYPE_HANDLE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_BACK_MATERIAL, pspec); g_object_class_install_property (gobject_class, PROP_BACK_MATERIAL, pspec);

View File

@ -214,8 +214,8 @@ clutter_desaturate_effect_class_init (ClutterDesaturateEffectClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_double ("factor", pspec = g_param_spec_double ("factor",
"Factor", P_("Factor"),
"The desaturation factor", P_("The desaturation factor"),
0.0, 1.0, 0.0, 1.0,
1.0, 1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -125,8 +125,8 @@ clutter_device_manager_class_init (ClutterDeviceManagerClass *klass)
gobject_class->get_property = clutter_device_manager_get_property; gobject_class->get_property = clutter_device_manager_get_property;
pspec = g_param_spec_object ("backend", pspec = g_param_spec_object ("backend",
"Backend", P_("Backend"),
"The ClutterBackend of the device manager", P_("The ClutterBackend of the device manager"),
CLUTTER_TYPE_BACKEND, CLUTTER_TYPE_BACKEND,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY); G_PARAM_CONSTRUCT_ONLY);

View File

@ -467,9 +467,8 @@ clutter_drag_action_class_init (ClutterDragActionClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_uint ("drag-threshold", pspec = g_param_spec_uint ("drag-threshold",
"Drag Threshold", P_("Drag Threshold"),
"The amount of pixels required to start " P_("The amount of pixels required to start dragging"),
"dragging",
0, G_MAXUINT, 0, G_MAXUINT,
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -490,8 +489,8 @@ clutter_drag_action_class_init (ClutterDragActionClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_object ("drag-handle", pspec = g_param_spec_object ("drag-handle",
"Drag Handle", P_("Drag Handle"),
"The actor that is being dragged", P_("The actor that is being dragged"),
CLUTTER_TYPE_ACTOR, CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_DRAG_HANDLE, pspec); g_object_class_install_property (gobject_class, PROP_DRAG_HANDLE, pspec);
@ -504,8 +503,8 @@ clutter_drag_action_class_init (ClutterDragActionClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_enum ("drag-axis", pspec = g_param_spec_enum ("drag-axis",
"Drag Axis", P_("Drag Axis"),
"Constraints the dragging to an axis", P_("Constraints the dragging to an axis"),
CLUTTER_TYPE_DRAG_AXIS, CLUTTER_TYPE_DRAG_AXIS,
CLUTTER_DRAG_AXIS_NONE, CLUTTER_DRAG_AXIS_NONE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -858,8 +858,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_enum ("orientation", pspec = g_param_spec_enum ("orientation",
"Orientation", P_("Orientation"),
"The orientation of the layout", P_("The orientation of the layout"),
CLUTTER_TYPE_FLOW_ORIENTATION, CLUTTER_TYPE_FLOW_ORIENTATION,
CLUTTER_FLOW_HORIZONTAL, CLUTTER_FLOW_HORIZONTAL,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
@ -875,9 +875,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_boolean ("homogeneous", pspec = g_param_spec_boolean ("homogeneous",
"Homogeneous", P_("Homogeneous"),
"Whether each item should receive the " P_("Whether each item should receive the same allocation"),
"same allocation",
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_HOMOGENEOUS, pspec); g_object_class_install_property (gobject_class, PROP_HOMOGENEOUS, pspec);
@ -892,8 +891,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_float ("column-spacing", pspec = g_param_spec_float ("column-spacing",
"Column Spacing", P_("Column Spacing"),
"The spacing between columns", P_("The spacing between columns"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -911,8 +910,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_float ("row-spacing", pspec = g_param_spec_float ("row-spacing",
"Row Spacing", P_("Row Spacing"),
"The spacing between rows", P_("The spacing between rows"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -928,8 +927,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_float ("min-column-width", pspec = g_param_spec_float ("min-column-width",
"Minimum Column Width", P_("Minimum Column Width"),
"Minimum width for each column", P_("Minimum width for each column"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -946,8 +945,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_float ("max-column-width", pspec = g_param_spec_float ("max-column-width",
"Maximum Column Width", P_("Maximum Column Width"),
"Maximum width for each column", P_("Maximum width for each column"),
-1.0, G_MAXFLOAT, -1.0, G_MAXFLOAT,
-1.0, -1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -963,8 +962,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_float ("min-row-height", pspec = g_param_spec_float ("min-row-height",
"Minimum Row Height", P_("Minimum Row Height"),
"Minimum height for each row", P_("Minimum height for each row"),
0.0, G_MAXFLOAT, 0.0, G_MAXFLOAT,
0.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -981,8 +980,8 @@ clutter_flow_layout_class_init (ClutterFlowLayoutClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_float ("max-row-height", pspec = g_param_spec_float ("max-row-height",
"Maximum Row Height", P_("Maximum Row Height"),
"Maximum height for each row", P_("Maximum height for each row"),
-1.0, G_MAXFLOAT, -1.0, G_MAXFLOAT,
-1.0, -1.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -124,8 +124,8 @@ clutter_input_device_class_init (ClutterInputDeviceClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_int ("id", pspec = g_param_spec_int ("id",
"Id", P_("Id"),
"Unique identifier of the device", P_("Unique identifier of the device"),
-1, G_MAXINT, -1, G_MAXINT,
0, 0,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
@ -140,8 +140,8 @@ clutter_input_device_class_init (ClutterInputDeviceClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_string ("name", pspec = g_param_spec_string ("name",
"Name", P_("Name"),
"The name of the device", P_("The name of the device"),
NULL, NULL,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY); G_PARAM_CONSTRUCT_ONLY);
@ -155,8 +155,8 @@ clutter_input_device_class_init (ClutterInputDeviceClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_enum ("device-type", pspec = g_param_spec_enum ("device-type",
"Device Type", P_("Device Type"),
"The type of the device", P_("The type of the device"),
CLUTTER_TYPE_INPUT_DEVICE_TYPE, CLUTTER_TYPE_INPUT_DEVICE_TYPE,
CLUTTER_POINTER_DEVICE, CLUTTER_POINTER_DEVICE,
CLUTTER_PARAM_READWRITE | CLUTTER_PARAM_READWRITE |

View File

@ -60,6 +60,7 @@
#include "clutter-color.h" #include "clutter-color.h"
#include "clutter-fixed.h" #include "clutter-fixed.h"
#include "clutter-interval.h" #include "clutter-interval.h"
#include "clutter-private.h"
#include "clutter-units.h" #include "clutter-units.h"
typedef struct typedef struct
@ -404,8 +405,8 @@ clutter_interval_class_init (ClutterIntervalClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_gtype ("value-type", pspec = g_param_spec_gtype ("value-type",
"Value Type", P_("Value Type"),
"The type of the values in the interval", P_("The type of the values in the interval"),
G_TYPE_NONE, G_TYPE_NONE,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY); G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
g_object_class_install_property (gobject_class, PROP_VALUE_TYPE, pspec); g_object_class_install_property (gobject_class, PROP_VALUE_TYPE, pspec);

View File

@ -110,8 +110,8 @@ clutter_layout_meta_class_init (ClutterLayoutMetaClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_object ("manager", pspec = g_param_spec_object ("manager",
"Manager", P_("Manager"),
"The manager that created this data", P_("The manager that created this data"),
CLUTTER_TYPE_LAYOUT_MANAGER, CLUTTER_TYPE_LAYOUT_MANAGER,
G_PARAM_CONSTRUCT_ONLY | G_PARAM_CONSTRUCT_ONLY |
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);

View File

@ -76,8 +76,8 @@ clutter_media_base_init (gpointer g_iface)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_string ("uri", pspec = g_param_spec_string ("uri",
"URI", P_("URI"),
"URI of a media file", P_("URI of a media file"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_interface_install_property (g_iface, pspec); g_object_interface_install_property (g_iface, pspec);
@ -90,8 +90,8 @@ clutter_media_base_init (gpointer g_iface)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_boolean ("playing", pspec = g_param_spec_boolean ("playing",
"Playing", P_("Playing"),
"Wheter the actor is playing", P_("Wheter the actor is playing"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_interface_install_property (g_iface, pspec); g_object_interface_install_property (g_iface, pspec);
@ -105,8 +105,8 @@ clutter_media_base_init (gpointer g_iface)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_double ("progress", pspec = g_param_spec_double ("progress",
"Progress", P_("Progress"),
"Current progress of the playback", P_("Current progress of the playback"),
0.0, 1.0, 0.0, 0.0, 1.0, 0.0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_interface_install_property (g_iface, pspec); g_object_interface_install_property (g_iface, pspec);
@ -119,8 +119,8 @@ clutter_media_base_init (gpointer g_iface)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_string ("subtitle-uri", pspec = g_param_spec_string ("subtitle-uri",
"Subtitle URI", P_("Subtitle URI"),
"URI of a subtitle file", P_("URI of a subtitle file"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_interface_install_property (g_iface, pspec); g_object_interface_install_property (g_iface, pspec);
@ -135,8 +135,8 @@ clutter_media_base_init (gpointer g_iface)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_string ("subtitle-font-name", pspec = g_param_spec_string ("subtitle-font-name",
"Subtitle Font Name", P_("Subtitle Font Name"),
"The font used to display subtitles", P_("The font used to display subtitles"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_interface_install_property (g_iface, pspec); g_object_interface_install_property (g_iface, pspec);
@ -150,8 +150,8 @@ clutter_media_base_init (gpointer g_iface)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_double ("audio-volume", pspec = g_param_spec_double ("audio-volume",
"Audio Volume", P_("Audio Volume"),
"The volume of the audio", P_("The volume of the audio"),
0.0, 1.0, 0.5, 0.0, 1.0, 0.5,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_interface_install_property (g_iface, pspec); g_object_interface_install_property (g_iface, pspec);
@ -164,8 +164,8 @@ clutter_media_base_init (gpointer g_iface)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_boolean ("can-seek", pspec = g_param_spec_boolean ("can-seek",
"Can Seek", P_("Can Seek"),
"Whether the current stream is seekable", P_("Whether the current stream is seekable"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_interface_install_property (g_iface, pspec); g_object_interface_install_property (g_iface, pspec);
@ -179,8 +179,8 @@ clutter_media_base_init (gpointer g_iface)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_double ("buffer-fill", pspec = g_param_spec_double ("buffer-fill",
"Buffer Fill", P_("Buffer Fill"),
"The fill level of the buffer", P_("The fill level of the buffer"),
0.0, 1.0, 0.0, 0.0, 1.0, 0.0,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_interface_install_property (g_iface, pspec); g_object_interface_install_property (g_iface, pspec);
@ -193,8 +193,8 @@ clutter_media_base_init (gpointer g_iface)
* Since: 0.2 * Since: 0.2
*/ */
pspec = g_param_spec_double ("duration", pspec = g_param_spec_double ("duration",
"Duration", P_("Duration"),
"The duration of the stream, in seconds", P_("The duration of the stream, in seconds"),
0, G_MAXDOUBLE, 0, 0, G_MAXDOUBLE, 0,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_interface_install_property (g_iface, pspec); g_object_interface_install_property (g_iface, pspec);

View File

@ -244,8 +244,8 @@ clutter_rectangle_class_init (ClutterRectangleClass *klass)
* The color of the rectangle. * The color of the rectangle.
*/ */
pspec = clutter_param_spec_color ("color", pspec = clutter_param_spec_color ("color",
"Color", P_("Color"),
"The color of the rectangle", P_("The color of the rectangle"),
&default_color, &default_color,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_COLOR, pspec); g_object_class_install_property (gobject_class, PROP_COLOR, pspec);
@ -258,8 +258,8 @@ clutter_rectangle_class_init (ClutterRectangleClass *klass)
* Since: 0.2 * Since: 0.2
*/ */
pspec = clutter_param_spec_color ("border-color", pspec = clutter_param_spec_color ("border-color",
"Border Color", P_("Border Color"),
"The color of the border of the rectangle", P_("The color of the border of the rectangle"),
&default_border_color, &default_border_color,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_BORDER_COLOR, pspec); g_object_class_install_property (gobject_class, PROP_BORDER_COLOR, pspec);
@ -274,8 +274,8 @@ clutter_rectangle_class_init (ClutterRectangleClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_BORDER_WIDTH, PROP_BORDER_WIDTH,
g_param_spec_uint ("border-width", g_param_spec_uint ("border-width",
"Border Width", P_("Border Width"),
"The width of the border of the rectangle", P_("The width of the border of the rectangle"),
0, G_MAXUINT, 0, G_MAXUINT,
0, 0,
CLUTTER_PARAM_READWRITE)); CLUTTER_PARAM_READWRITE));
@ -289,8 +289,8 @@ clutter_rectangle_class_init (ClutterRectangleClass *klass)
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_HAS_BORDER, PROP_HAS_BORDER,
g_param_spec_boolean ("has-border", g_param_spec_boolean ("has-border",
"Has Border", P_("Has Border"),
"Whether the rectangle should have a border", P_("Whether the rectangle should have a border"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE)); CLUTTER_PARAM_READWRITE));

View File

@ -397,8 +397,8 @@ clutter_script_class_init (ClutterScriptClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_boolean ("filename-set", pspec = g_param_spec_boolean ("filename-set",
"Filename Set", P_("Filename Set"),
"Whether the :filename property is set", P_("Whether the :filename property is set"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_FILENAME_SET, pspec); g_object_class_install_property (gobject_class, PROP_FILENAME_SET, pspec);
@ -412,8 +412,8 @@ clutter_script_class_init (ClutterScriptClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_string ("filename", pspec = g_param_spec_string ("filename",
"Filename", P_("Filename"),
"The path of the currently parsed file", P_("The path of the currently parsed file"),
NULL, NULL,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_FILENAME, pspec); g_object_class_install_property (gobject_class, PROP_FILENAME, pspec);

View File

@ -429,8 +429,8 @@ clutter_shader_effect_class_init (ClutterShaderEffectClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_enum ("shader-type", pspec = g_param_spec_enum ("shader-type",
"Shader Type", P_("Shader Type"),
"The type of shader used", P_("The type of shader used"),
CLUTTER_TYPE_SHADER_TYPE, CLUTTER_TYPE_SHADER_TYPE,
CLUTTER_FRAGMENT_SHADER, CLUTTER_FRAGMENT_SHADER,
CLUTTER_PARAM_WRITABLE | CLUTTER_PARAM_WRITABLE |

View File

@ -208,8 +208,8 @@ clutter_shader_class_init (ClutterShaderClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_string ("vertex-source", pspec = g_param_spec_string ("vertex-source",
"Vertex Source", P_("Vertex Source"),
"Source of vertex shader", P_("Source of vertex shader"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_VERTEX_SOURCE, pspec); g_object_class_install_property (object_class, PROP_VERTEX_SOURCE, pspec);
@ -222,8 +222,8 @@ clutter_shader_class_init (ClutterShaderClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_string ("fragment-source", pspec = g_param_spec_string ("fragment-source",
"Fragment Source", P_("Fragment Source"),
"Source of fragment shader", P_("Source of fragment shader"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_FRAGMENT_SOURCE, pspec); g_object_class_install_property (object_class, PROP_FRAGMENT_SOURCE, pspec);
@ -237,8 +237,8 @@ clutter_shader_class_init (ClutterShaderClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
pspec = g_param_spec_boolean ("compiled", pspec = g_param_spec_boolean ("compiled",
"Compiled", P_("Compiled"),
"Whether the shader is compiled and linked", P_("Whether the shader is compiled and linked"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (object_class, PROP_COMPILED, pspec); g_object_class_install_property (object_class, PROP_COMPILED, pspec);
@ -251,8 +251,8 @@ clutter_shader_class_init (ClutterShaderClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_boolean ("enabled", pspec = g_param_spec_boolean ("enabled",
"Enabled", P_("Enabled"),
"Whether the shader is enabled", P_("Whether the shader is enabled"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_ENABLED, pspec); g_object_class_install_property (object_class, PROP_ENABLED, pspec);

View File

@ -1015,8 +1015,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("fullscreen-set", pspec = g_param_spec_boolean ("fullscreen-set",
"Fullscreen Set", P_("Fullscreen Set"),
"Whether the main stage is fullscreen", P_("Whether the main stage is fullscreen"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
@ -1032,9 +1032,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* and it might be deprecated at any later date.</para></warning> * and it might be deprecated at any later date.</para></warning>
*/ */
pspec = g_param_spec_boolean ("offscreen", pspec = g_param_spec_boolean ("offscreen",
"Offscreen", P_("Offscreen"),
"Whether the main stage should be " P_("Whether the main stage should be rendered offscreen"),
"rendered offscreen",
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
@ -1046,9 +1045,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Whether the mouse pointer should be visible * Whether the mouse pointer should be visible
*/ */
pspec = g_param_spec_boolean ("cursor-visible", pspec = g_param_spec_boolean ("cursor-visible",
"Cursor Visible", P_("Cursor Visible"),
"Whether the mouse pointer is visible " P_("Whether the mouse pointer is visible on the main stage"),
"on the main stage",
TRUE, TRUE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
@ -1062,9 +1060,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_boolean ("user-resizable", pspec = g_param_spec_boolean ("user-resizable",
"User Resizable", P_("User Resizable"),
"Whether the stage is able to be resized " P_("Whether the stage is able to be resized via user interaction"),
"via user interaction",
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
@ -1076,8 +1073,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* The color of the main stage. * The color of the main stage.
*/ */
pspec = clutter_param_spec_color ("color", pspec = clutter_param_spec_color ("color",
"Color", P_("Color"),
"The color of the stage", P_("The color of the stage"),
&default_stage_color, &default_stage_color,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_COLOR, pspec); g_object_class_install_property (gobject_class, PROP_COLOR, pspec);
@ -1091,8 +1088,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 0.8.2 * Since: 0.8.2
*/ */
pspec = g_param_spec_boxed ("perspective", pspec = g_param_spec_boxed ("perspective",
"Perspective", P_("Perspective"),
"Perspective projection parameters", P_("Perspective projection parameters"),
CLUTTER_TYPE_PERSPECTIVE, CLUTTER_TYPE_PERSPECTIVE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
@ -1107,8 +1104,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 0.4 * Since: 0.4
*/ */
pspec = g_param_spec_string ("title", pspec = g_param_spec_string ("title",
"Title", P_("Title"),
"Stage Title", P_("Stage Title"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_TITLE, pspec); g_object_class_install_property (gobject_class, PROP_TITLE, pspec);
@ -1123,8 +1120,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
pspec = g_param_spec_boolean ("use-fog", pspec = g_param_spec_boolean ("use-fog",
"Use Fog", P_("Use Fog"),
"Whether to enable depth cueing", P_("Whether to enable depth cueing"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_USE_FOG, pspec); g_object_class_install_property (gobject_class, PROP_USE_FOG, pspec);
@ -1138,8 +1135,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boxed ("fog", pspec = g_param_spec_boxed ("fog",
"Fog", P_("Fog"),
"Settings for the depth cueing", P_("Settings for the depth cueing"),
CLUTTER_TYPE_FOG, CLUTTER_TYPE_FOG,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_FOG, pspec); g_object_class_install_property (gobject_class, PROP_FOG, pspec);
@ -1155,9 +1152,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_boolean ("use-alpha", pspec = g_param_spec_boolean ("use-alpha",
"Use Alpha", P_("Use Alpha"),
"Whether to honour the alpha component of " P_("Whether to honour the alpha component of the stage color"),
"the stage color",
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_USE_ALPHA, pspec); g_object_class_install_property (gobject_class, PROP_USE_ALPHA, pspec);
@ -1173,8 +1169,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_object ("key-focus", pspec = g_param_spec_object ("key-focus",
"Key Focus", P_("Key Focus"),
"The currently key focused actor", P_("The currently key focused actor"),
CLUTTER_TYPE_ACTOR, CLUTTER_TYPE_ACTOR,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_KEY_FOCUS, pspec); g_object_class_install_property (gobject_class, PROP_KEY_FOCUS, pspec);
@ -1190,8 +1186,8 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 1.4 * Since: 1.4
*/ */
pspec = g_param_spec_boolean ("no-clear-hint", pspec = g_param_spec_boolean ("no-clear-hint",
"No Clear Hint", P_("No Clear Hint"),
"Whether the stage should clear its contents", P_("Whether the stage should clear its contents"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_NO_CLEAR_HINT, pspec); g_object_class_install_property (gobject_class, PROP_NO_CLEAR_HINT, pspec);
@ -1205,7 +1201,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
stage_signals[FULLSCREEN] = stage_signals[FULLSCREEN] =
g_signal_new ("fullscreen", g_signal_new (I_("fullscreen"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (ClutterStageClass, fullscreen), G_STRUCT_OFFSET (ClutterStageClass, fullscreen),
@ -1222,7 +1218,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
stage_signals[UNFULLSCREEN] = stage_signals[UNFULLSCREEN] =
g_signal_new ("unfullscreen", g_signal_new (I_("unfullscreen"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ClutterStageClass, unfullscreen), G_STRUCT_OFFSET (ClutterStageClass, unfullscreen),
@ -1239,7 +1235,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
stage_signals[ACTIVATE] = stage_signals[ACTIVATE] =
g_signal_new ("activate", g_signal_new (I_("activate"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ClutterStageClass, activate), G_STRUCT_OFFSET (ClutterStageClass, activate),
@ -1256,7 +1252,7 @@ clutter_stage_class_init (ClutterStageClass *klass)
* Since: 0.6 * Since: 0.6
*/ */
stage_signals[DEACTIVATE] = stage_signals[DEACTIVATE] =
g_signal_new ("deactivate", g_signal_new (I_("deactivate"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ClutterStageClass, deactivate), G_STRUCT_OFFSET (ClutterStageClass, deactivate),

View File

@ -1156,8 +1156,8 @@ clutter_state_class_init (ClutterStateClass *klass)
* change state without a transition. * change state without a transition.
*/ */
pspec = g_param_spec_string ("state", pspec = g_param_spec_string ("state",
"State", P_("State"),
"Currently set state, (transition to this state might not be complete)", P_("Currently set state, (transition to this state might not be complete)"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_STATE, pspec); g_object_class_install_property (gobject_class, PROP_STATE, pspec);
@ -1169,8 +1169,8 @@ clutter_state_class_init (ClutterStateClass *klass)
* source/target state pair. The values is in milliseconds. * source/target state pair. The values is in milliseconds.
*/ */
pspec = g_param_spec_uint ("duration", pspec = g_param_spec_uint ("duration",
"Duration", P_("Duration"),
"Default transition duration", P_("Default transition duration"),
0, 86400000, 1000, 0, 86400000, 1000,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_DURATION, pspec); g_object_class_install_property (gobject_class, PROP_DURATION, pspec);

View File

@ -2495,8 +2495,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_string ("font-name", pspec = g_param_spec_string ("font-name",
"Font Name", P_("Font Name"),
"The font to be used by the text", P_("The font to be used by the text"),
NULL, NULL,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_FONT_NAME, pspec); g_object_class_install_property (gobject_class, PROP_FONT_NAME, pspec);
@ -2512,8 +2512,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
pspec = g_param_spec_boxed ("font-description", pspec = g_param_spec_boxed ("font-description",
"Font Description", P_("Font Description"),
"The font description to be used", P_("The font description to be used"),
PANGO_TYPE_FONT_DESCRIPTION, PANGO_TYPE_FONT_DESCRIPTION,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
@ -2528,8 +2528,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_string ("text", pspec = g_param_spec_string ("text",
"Text", P_("Text"),
"The text to render", P_("The text to render"),
"", "",
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_TEXT, pspec); g_object_class_install_property (gobject_class, PROP_TEXT, pspec);
@ -2542,8 +2542,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = clutter_param_spec_color ("color", pspec = clutter_param_spec_color ("color",
"Font Color", P_("Font Color"),
"Color of the font used by the text", P_("Color of the font used by the text"),
&default_text_color, &default_text_color,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_COLOR, pspec); g_object_class_install_property (gobject_class, PROP_COLOR, pspec);
@ -2556,8 +2556,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("editable", pspec = g_param_spec_boolean ("editable",
"Editable", P_("Editable"),
"Whether the text is editable", P_("Whether the text is editable"),
TRUE, TRUE,
G_PARAM_READWRITE); G_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_EDITABLE, pspec); g_object_class_install_property (gobject_class, PROP_EDITABLE, pspec);
@ -2571,8 +2571,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("selectable", pspec = g_param_spec_boolean ("selectable",
"Selectable", P_("Selectable"),
"Whether the text is selectable", P_("Whether the text is selectable"),
TRUE, TRUE,
G_PARAM_READWRITE); G_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_SELECTABLE, pspec); g_object_class_install_property (gobject_class, PROP_SELECTABLE, pspec);
@ -2585,9 +2585,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("activatable", pspec = g_param_spec_boolean ("activatable",
"Activatable", P_("Activatable"),
"Whether pressing return causes the " P_("Whether pressing return causes the activate signal to be emitted"),
"activate signal to be emitted",
TRUE, TRUE,
G_PARAM_READWRITE); G_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_ACTIVATABLE, pspec); g_object_class_install_property (gobject_class, PROP_ACTIVATABLE, pspec);
@ -2602,8 +2601,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("cursor-visible", pspec = g_param_spec_boolean ("cursor-visible",
"Cursor Visible", P_("Cursor Visible"),
"Whether the input cursor is visible", P_("Whether the input cursor is visible"),
TRUE, TRUE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CURSOR_VISIBLE, pspec); g_object_class_install_property (gobject_class, PROP_CURSOR_VISIBLE, pspec);
@ -2616,8 +2615,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = clutter_param_spec_color ("cursor-color", pspec = clutter_param_spec_color ("cursor-color",
"Cursor Color", P_("Cursor Color"),
"Cursor Color", P_("Cursor Color"),
&default_cursor_color, &default_cursor_color,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CURSOR_COLOR, pspec); g_object_class_install_property (gobject_class, PROP_CURSOR_COLOR, pspec);
@ -2630,8 +2629,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("cursor-color-set", pspec = g_param_spec_boolean ("cursor-color-set",
"Cursor Color Set", P_("Cursor Color Set"),
"Whether the cursor color has been set", P_("Whether the cursor color has been set"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_CURSOR_COLOR_SET, pspec); g_object_class_install_property (gobject_class, PROP_CURSOR_COLOR_SET, pspec);
@ -2645,8 +2644,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_int ("cursor-size", pspec = g_param_spec_int ("cursor-size",
"Cursor Size", P_("Cursor Size"),
"The width of the cursor, in pixels", P_("The width of the cursor, in pixels"),
-1, G_MAXINT, DEFAULT_CURSOR_SIZE, -1, G_MAXINT, DEFAULT_CURSOR_SIZE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_CURSOR_SIZE, pspec); g_object_class_install_property (gobject_class, PROP_CURSOR_SIZE, pspec);
@ -2659,8 +2658,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_int ("position", pspec = g_param_spec_int ("position",
"Position", P_("Position"),
"The cursor position", P_("The cursor position"),
-1, G_MAXINT, -1, G_MAXINT,
-1, -1,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -2674,9 +2673,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_int ("selection-bound", pspec = g_param_spec_int ("selection-bound",
"Selection-bound", P_("Selection-bound"),
"The cursor position of the other end " P_("The cursor position of the other end of the selection"),
"of the selection",
-1, G_MAXINT, -1, G_MAXINT,
-1, -1,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -2690,8 +2688,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = clutter_param_spec_color ("selection-color", pspec = clutter_param_spec_color ("selection-color",
"Selection Color", P_("Selection Color"),
"Selection Color", P_("Selection Color"),
&default_selection_color, &default_selection_color,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_SELECTION_COLOR, pspec); g_object_class_install_property (gobject_class, PROP_SELECTION_COLOR, pspec);
@ -2704,8 +2702,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("selection-color-set", pspec = g_param_spec_boolean ("selection-color-set",
"Selection Color Set", P_("Selection Color Set"),
"Whether the selection color has been set", P_("Whether the selection color has been set"),
FALSE, FALSE,
CLUTTER_PARAM_READABLE); CLUTTER_PARAM_READABLE);
g_object_class_install_property (gobject_class, PROP_SELECTION_COLOR_SET, pspec); g_object_class_install_property (gobject_class, PROP_SELECTION_COLOR_SET, pspec);
@ -2719,9 +2717,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boxed ("attributes", pspec = g_param_spec_boxed ("attributes",
"Attributes", P_("Attributes"),
"A list of style attributes to apply to " P_("A list of style attributes to apply to the contents of the actor"),
"the contents of the actor",
PANGO_TYPE_ATTR_LIST, PANGO_TYPE_ATTR_LIST,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_ATTRIBUTES, pspec); g_object_class_install_property (gobject_class, PROP_ATTRIBUTES, pspec);
@ -2735,9 +2732,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("use-markup", pspec = g_param_spec_boolean ("use-markup",
"Use markup", P_("Use markup"),
"Whether or not the text " P_("Whether or not the text includes Pango markup"),
"includes Pango markup",
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_USE_MARKUP, pspec); g_object_class_install_property (gobject_class, PROP_USE_MARKUP, pspec);
@ -2752,9 +2748,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("line-wrap", pspec = g_param_spec_boolean ("line-wrap",
"Line wrap", P_("Line wrap"),
"If set, wrap the lines if the text " P_("If set, wrap the lines if the text becomes too wide"),
"becomes too wide",
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_LINE_WRAP, pspec); g_object_class_install_property (gobject_class, PROP_LINE_WRAP, pspec);
@ -2768,8 +2763,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_enum ("line-wrap-mode", pspec = g_param_spec_enum ("line-wrap-mode",
"Line wrap mode", P_("Line wrap mode"),
"Control how line-wrapping is done", P_("Control how line-wrapping is done"),
PANGO_TYPE_WRAP_MODE, PANGO_TYPE_WRAP_MODE,
PANGO_WRAP_WORD, PANGO_WRAP_WORD,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -2783,8 +2778,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_enum ("ellipsize", pspec = g_param_spec_enum ("ellipsize",
"Ellipsize", P_("Ellipsize"),
"The preferred place to ellipsize the string", P_("The preferred place to ellipsize the string"),
PANGO_TYPE_ELLIPSIZE_MODE, PANGO_TYPE_ELLIPSIZE_MODE,
PANGO_ELLIPSIZE_NONE, PANGO_ELLIPSIZE_NONE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -2799,9 +2794,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_enum ("line-alignment", pspec = g_param_spec_enum ("line-alignment",
"Line Alignment", P_("Line Alignment"),
"The preferred alignment for the string, " P_("The preferred alignment for the string, for multi-line text"),
"for multi-line text",
PANGO_TYPE_ALIGNMENT, PANGO_TYPE_ALIGNMENT,
PANGO_ALIGN_LEFT, PANGO_ALIGN_LEFT,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
@ -2816,8 +2810,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("justify", pspec = g_param_spec_boolean ("justify",
"Justify", P_("Justify"),
"Whether the text should be justified", P_("Whether the text should be justified"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_JUSTIFY, pspec); g_object_class_install_property (gobject_class, PROP_JUSTIFY, pspec);
@ -2831,9 +2825,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_unichar ("password-char", pspec = g_param_spec_unichar ("password-char",
"Password Character", P_("Password Character"),
"If non-zero, use this character to " P_("If non-zero, use this character to display the actor's contents"),
"display the actor's contents",
0, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_PASSWORD_CHAR, pspec); g_object_class_install_property (gobject_class, PROP_PASSWORD_CHAR, pspec);
@ -2846,8 +2839,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_int ("max-length", pspec = g_param_spec_int ("max-length",
"Max Length", P_("Max Length"),
"Maximum length of the text inside the actor", P_("Maximum length of the text inside the actor"),
-1, G_MAXINT, 0, -1, G_MAXINT, 0,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_MAX_LENGTH, pspec); g_object_class_install_property (gobject_class, PROP_MAX_LENGTH, pspec);
@ -2869,8 +2862,8 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
pspec = g_param_spec_boolean ("single-line-mode", pspec = g_param_spec_boolean ("single-line-mode",
"Single Line Mode", P_("Single Line Mode"),
"Whether the text should be a single line", P_("Whether the text should be a single line"),
FALSE, FALSE,
CLUTTER_PARAM_READWRITE); CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_SINGLE_LINE_MODE, pspec); g_object_class_install_property (gobject_class, PROP_SINGLE_LINE_MODE, pspec);
@ -2884,7 +2877,7 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
text_signals[TEXT_CHANGED] = text_signals[TEXT_CHANGED] =
g_signal_new ("text-changed", g_signal_new (I_("text-changed"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ClutterTextClass, text_changed), G_STRUCT_OFFSET (ClutterTextClass, text_changed),
@ -2909,7 +2902,7 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
text_signals[INSERT_TEXT] = text_signals[INSERT_TEXT] =
g_signal_new ("insert-text", g_signal_new (I_("insert-text"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
0, 0,
@ -2932,7 +2925,7 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.2 * Since: 1.2
*/ */
text_signals[DELETE_TEXT] = text_signals[DELETE_TEXT] =
g_signal_new ("delete-text", g_signal_new (I_("delete-text"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
0, 0,
@ -2955,7 +2948,7 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
text_signals[CURSOR_EVENT] = text_signals[CURSOR_EVENT] =
g_signal_new ("cursor-event", g_signal_new (I_("cursor-event"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ClutterTextClass, cursor_event), G_STRUCT_OFFSET (ClutterTextClass, cursor_event),
@ -2975,7 +2968,7 @@ clutter_text_class_init (ClutterTextClass *klass)
* Since: 1.0 * Since: 1.0
*/ */
text_signals[ACTIVATE] = text_signals[ACTIVATE] =
g_signal_new ("activate", g_signal_new (I_("activate"),
G_TYPE_FROM_CLASS (gobject_class), G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ClutterTextClass, activate), G_STRUCT_OFFSET (ClutterTextClass, activate),

View File

@ -911,6 +911,7 @@ clutter_texture_class_init (ClutterTextureClass *klass)
{ {
GObjectClass *gobject_class = G_OBJECT_CLASS (klass); GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass); ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
GParamSpec *pspec;
g_type_class_add_private (klass, sizeof (ClutterTexturePrivate)); g_type_class_add_private (klass, sizeof (ClutterTexturePrivate));
@ -928,105 +929,86 @@ clutter_texture_class_init (ClutterTextureClass *klass)
gobject_class->set_property = clutter_texture_set_property; gobject_class->set_property = clutter_texture_set_property;
gobject_class->get_property = clutter_texture_get_property; gobject_class->get_property = clutter_texture_get_property;
g_object_class_install_property pspec = g_param_spec_boolean ("sync-size",
(gobject_class, PROP_SYNC_SIZE, P_("Sync size of actor"),
g_param_spec_boolean ("sync-size", P_("Auto sync size of actor to underlying pixbuf dimensions"),
"Sync size of actor", TRUE,
"Auto sync size of actor to underlying pixbuf " CLUTTER_PARAM_READWRITE);
"dimensions", g_object_class_install_property (gobject_class, PROP_SYNC_SIZE, pspec);
TRUE,
CLUTTER_PARAM_READWRITE));
g_object_class_install_property pspec = g_param_spec_boolean ("disable-slicing",
(gobject_class, PROP_NO_SLICE, P_("Disable Slicing"),
g_param_spec_boolean ("disable-slicing", P_("Forces the underlying texture to be singlular and not made of of smaller space saving inidivual textures."),
"Disable Slicing", FALSE,
"Force the underlying texture to be singlular" G_PARAM_CONSTRUCT_ONLY |
"and not made of of smaller space saving " CLUTTER_PARAM_READWRITE);
"inidivual textures.", g_object_class_install_property (gobject_class, PROP_NO_SLICE, pspec);
FALSE,
G_PARAM_CONSTRUCT_ONLY | CLUTTER_PARAM_READWRITE));
g_object_class_install_property pspec = g_param_spec_int ("tile-waste",
(gobject_class, PROP_MAX_TILE_WASTE, P_("Tile Waste"),
g_param_spec_int ("tile-waste", P_("Maximum waste area of a sliced texture"),
"Tile Waste", -1, G_MAXINT,
"Maximum waste area of a sliced texture", COGL_TEXTURE_MAX_WASTE,
-1, G_MAXINT, CLUTTER_PARAM_READABLE);
COGL_TEXTURE_MAX_WASTE, g_object_class_install_property (gobject_class, PROP_MAX_TILE_WASTE, pspec);
CLUTTER_PARAM_READABLE));
g_object_class_install_property pspec = g_param_spec_boolean ("repeat-x",
(gobject_class, PROP_REPEAT_X, P_("Horizontal repeat"),
g_param_spec_boolean ("repeat-x", P_("Repeat the contents rather than scaling them horizontally."),
"Tile underlying pixbuf in x direction", FALSE,
"Repeat underlying pixbuf rather than scale " CLUTTER_PARAM_READWRITE);
"in x direction.", g_object_class_install_property (gobject_class, PROP_REPEAT_X, pspec);
FALSE,
CLUTTER_PARAM_READWRITE));
g_object_class_install_property pspec = g_param_spec_boolean ("repeat-y",
(gobject_class, PROP_REPEAT_Y, P_("Vertical repeat"),
g_param_spec_boolean ("repeat-y", P_("Repeat the contents rather than scaling them vertically."),
"Tile underlying pixbuf in y direction", FALSE,
"Repeat underlying pixbuf rather than scale " CLUTTER_PARAM_READWRITE);
"in y direction.", g_object_class_install_property (gobject_class, PROP_REPEAT_Y, pspec);
FALSE,
CLUTTER_PARAM_READWRITE));
g_object_class_install_property pspec = g_param_spec_enum ("filter-quality",
(gobject_class, PROP_FILTER_QUALITY, P_("Filter Quality"),
g_param_spec_enum ("filter-quality", P_("Rendering quality used when drawing the texture."),
"Filter Quality", CLUTTER_TYPE_TEXTURE_QUALITY,
"Rendering quality used when drawing the texture.", CLUTTER_TEXTURE_QUALITY_MEDIUM,
CLUTTER_TYPE_TEXTURE_QUALITY, G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE);
CLUTTER_TEXTURE_QUALITY_MEDIUM, g_object_class_install_property (gobject_class, PROP_FILTER_QUALITY, pspec);
G_PARAM_CONSTRUCT | CLUTTER_PARAM_READWRITE));
g_object_class_install_property pspec = g_param_spec_enum ("pixel-format",
(gobject_class, PROP_PIXEL_FORMAT, P_("Pixel Format"),
g_param_spec_enum ("pixel-format", P_("The Cogl pixel format to use."),
"Texture pixel format", COGL_TYPE_PIXEL_FORMAT,
"CoglPixelFormat to use.", COGL_PIXEL_FORMAT_RGBA_8888,
COGL_TYPE_PIXEL_FORMAT, CLUTTER_PARAM_READABLE);
COGL_PIXEL_FORMAT_RGBA_8888, g_object_class_install_property (gobject_class, PROP_PIXEL_FORMAT, pspec);
CLUTTER_PARAM_READABLE));
g_object_class_install_property pspec = g_param_spec_boxed ("cogl-texture",
(gobject_class, PROP_COGL_TEXTURE, P_("COGL Texture"),
g_param_spec_boxed ("cogl-texture", P_("The underlying COGL texture handle used to draw this actor"),
"COGL Texture", COGL_TYPE_HANDLE,
"The underlying COGL texture handle used to draw " G_PARAM_READWRITE);
"this actor", g_object_class_install_property (gobject_class, PROP_COGL_TEXTURE, pspec);
COGL_TYPE_HANDLE,
G_PARAM_READWRITE));
g_object_class_install_property pspec = g_param_spec_boxed ("cogl-material",
(gobject_class, PROP_COGL_MATERIAL, P_("COGL Material"),
g_param_spec_boxed ("cogl-material", P_("The underlying COGL material handle used to draw this actor"),
"COGL Material", COGL_TYPE_HANDLE,
"The underlying COGL material handle used to draw " G_PARAM_READWRITE);
"this actor", g_object_class_install_property (gobject_class, PROP_COGL_MATERIAL, pspec);
COGL_TYPE_HANDLE,
G_PARAM_READWRITE));
g_object_class_install_property pspec = g_param_spec_string ("filename",
(gobject_class, PROP_FILENAME, P_("Filename"),
g_param_spec_string ("filename", P_("The full path of the file containing the texture"),
"Filename", NULL,
"The full path of the file containing the texture", G_PARAM_WRITABLE);
NULL, g_object_class_install_property (gobject_class, PROP_FILENAME, pspec);
G_PARAM_WRITABLE));
g_object_class_install_property
(gobject_class, PROP_KEEP_ASPECT_RATIO,
g_param_spec_boolean ("keep-aspect-ratio",
"Keep Aspect Ratio",
"Keep the aspect ratio of the texture when "
"requesting the preferred width or height",
FALSE,
CLUTTER_PARAM_READWRITE));
pspec = g_param_spec_boolean ("keep-aspect-ratio",
P_("Keep Aspect Ratio"),
P_("Keep the aspect ratio of the texture when requesting the preferred width or height"),
FALSE,
CLUTTER_PARAM_READWRITE);
g_object_class_install_property (gobject_class, PROP_KEEP_ASPECT_RATIO, pspec);
/** /**
* ClutterTexture:load-async: * ClutterTexture:load-async:
@ -1047,14 +1029,12 @@ clutter_texture_class_init (ClutterTextureClass *klass)
* *
* Since: 1.0 * Since: 1.0
*/ */
g_object_class_install_property pspec = g_param_spec_boolean ("load-async",
(gobject_class, PROP_LOAD_ASYNC, P_("Load asynchronously"),
g_param_spec_boolean ("load-async", P_("Load files inside a thread to avoid blocking when loading images from disk."),
"Load asynchronously", FALSE,
"Load files inside a thread to avoid blocking when " CLUTTER_PARAM_WRITABLE);
"loading images.", g_object_class_install_property (gobject_class, PROP_LOAD_ASYNC, pspec);
FALSE,
CLUTTER_PARAM_WRITABLE));
/** /**
@ -1065,14 +1045,12 @@ clutter_texture_class_init (ClutterTextureClass *klass)
* *
* Since: 1.0 * Since: 1.0
*/ */
g_object_class_install_property pspec = g_param_spec_boolean ("load-data-async",
(gobject_class, PROP_LOAD_DATA_ASYNC, P_("Load data asynchronously"),
g_param_spec_boolean ("load-data-async", P_("Decode image data files inside a thread to reduce blocking when loading images from disk."),
"Load data asynchronously", FALSE,
"Decode image data files inside a thread to reduce " CLUTTER_PARAM_WRITABLE);
"blocking when loading images.", g_object_class_install_property (gobject_class, PROP_LOAD_DATA_ASYNC, pspec);
FALSE,
CLUTTER_PARAM_WRITABLE));
/** /**
* ClutterTexture::pick-with-alpha: * ClutterTexture::pick-with-alpha:
@ -1091,13 +1069,12 @@ clutter_texture_class_init (ClutterTextureClass *klass)
* *
* Since: 1.4 * Since: 1.4
*/ */
g_object_class_install_property pspec = g_param_spec_boolean ("pick-with-alpha",
(gobject_class, PROP_PICK_WITH_ALPHA, P_("Pick With Alpha"),
g_param_spec_boolean ("pick-with-alpha", P_("Shape actor with alpha channel when picking"),
"Pick With Alpha Channel", FALSE,
"Shape actor with alpha channel when picking", CLUTTER_PARAM_READWRITE);
FALSE, g_object_class_install_property (gobject_class, PROP_PICK_WITH_ALPHA, pspec);
CLUTTER_PARAM_READWRITE));
/** /**
* ClutterTexture::size-change: * ClutterTexture::size-change:

View File

@ -515,8 +515,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
klass->update_area = clutter_x11_texture_pixmap_update_area_real; klass->update_area = clutter_x11_texture_pixmap_update_area_real;
pspec = g_param_spec_ulong ("pixmap", pspec = g_param_spec_ulong ("pixmap",
"Pixmap", P_("Pixmap"),
"The X11 Pixmap to be bound", P_("The X11 Pixmap to be bound"),
0, G_MAXULONG, 0, G_MAXULONG,
None, None,
G_PARAM_READWRITE); G_PARAM_READWRITE);
@ -524,9 +524,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
g_object_class_install_property (object_class, PROP_PIXMAP, pspec); g_object_class_install_property (object_class, PROP_PIXMAP, pspec);
pspec = g_param_spec_uint ("pixmap-width", pspec = g_param_spec_uint ("pixmap-width",
"Pixmap width", P_("Pixmap width"),
"The width of the " P_("The width of the pixmap bound to this texture"),
"pixmap bound to this texture",
0, G_MAXUINT, 0, G_MAXUINT,
0, 0,
G_PARAM_READABLE); G_PARAM_READABLE);
@ -534,9 +533,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
g_object_class_install_property (object_class, PROP_PIXMAP_WIDTH, pspec); g_object_class_install_property (object_class, PROP_PIXMAP_WIDTH, pspec);
pspec = g_param_spec_uint ("pixmap-height", pspec = g_param_spec_uint ("pixmap-height",
"Pixmap height", P_("Pixmap height"),
"The height of the " P_("The height of the pixmap bound to this texture"),
"pixmap bound to this texture",
0, G_MAXUINT, 0, G_MAXUINT,
0, 0,
G_PARAM_READABLE); G_PARAM_READABLE);
@ -544,9 +542,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
g_object_class_install_property (object_class, PROP_PIXMAP_HEIGHT, pspec); g_object_class_install_property (object_class, PROP_PIXMAP_HEIGHT, pspec);
pspec = g_param_spec_uint ("pixmap-depth", pspec = g_param_spec_uint ("pixmap-depth",
"Pixmap Depth", P_("Pixmap Depth"),
"The depth (in number of bits) of the " P_("The depth (in number of bits) of the pixmap bound to this texture"),
"pixmap bound to this texture",
0, G_MAXUINT, 0, G_MAXUINT,
0, 0,
G_PARAM_READABLE); G_PARAM_READABLE);
@ -554,17 +551,17 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
g_object_class_install_property (object_class, PROP_DEPTH, pspec); g_object_class_install_property (object_class, PROP_DEPTH, pspec);
pspec = g_param_spec_boolean ("automatic-updates", pspec = g_param_spec_boolean ("automatic-updates",
"Automatic Updates", P_("Automatic Updates"),
"If the texture should be kept in " P_("If the texture should be kept in "
"sync with any pixmap changes.", "sync with any pixmap changes."),
FALSE, FALSE,
G_PARAM_READWRITE); G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_AUTO, pspec); g_object_class_install_property (object_class, PROP_AUTO, pspec);
pspec = g_param_spec_ulong ("window", pspec = g_param_spec_ulong ("window",
"Window", P_("Window"),
"The X11 Window to be bound", P_("The X11 Window to be bound"),
0, G_MAXULONG, 0, G_MAXULONG,
None, None,
G_PARAM_READWRITE); G_PARAM_READWRITE);
@ -572,9 +569,9 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
g_object_class_install_property (object_class, PROP_WINDOW, pspec); g_object_class_install_property (object_class, PROP_WINDOW, pspec);
pspec = g_param_spec_boolean ("window-redirect-automatic", pspec = g_param_spec_boolean ("window-redirect-automatic",
"Window Redirect Automatic", P_("Window Redirect Automatic"),
"If composite window redirects are set to " P_("If composite window redirects are set to "
"Automatic (or Manual if false)", "Automatic (or Manual if false)"),
TRUE, TRUE,
G_PARAM_READWRITE); G_PARAM_READWRITE);
@ -583,8 +580,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
pspec = g_param_spec_boolean ("window-mapped", pspec = g_param_spec_boolean ("window-mapped",
"Window Mapped", P_("Window Mapped"),
"If window is mapped", P_("If window is mapped"),
FALSE, FALSE,
G_PARAM_READABLE); G_PARAM_READABLE);
@ -593,8 +590,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
pspec = g_param_spec_boolean ("destroyed", pspec = g_param_spec_boolean ("destroyed",
"Destroyed", P_("Destroyed"),
"If window has been destroyed", P_("If window has been destroyed"),
FALSE, FALSE,
G_PARAM_READABLE); G_PARAM_READABLE);
@ -602,8 +599,8 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
PROP_DESTROYED, pspec); PROP_DESTROYED, pspec);
pspec = g_param_spec_int ("window-x", pspec = g_param_spec_int ("window-x",
"Window X", P_("Window X"),
"X position of window on screen according to X11", P_("X position of window on screen according to X11"),
G_MININT, G_MAXINT, 0, G_PARAM_READABLE); G_MININT, G_MAXINT, 0, G_PARAM_READABLE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
@ -611,16 +608,16 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
pspec = g_param_spec_int ("window-y", pspec = g_param_spec_int ("window-y",
"Window Y", P_("Window Y"),
"Y position of window on screen according to X11", P_("Y position of window on screen according to X11"),
G_MININT, G_MAXINT, 0, G_PARAM_READABLE); G_MININT, G_MAXINT, 0, G_PARAM_READABLE);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,
PROP_WINDOW_Y, pspec); PROP_WINDOW_Y, pspec);
pspec = g_param_spec_boolean ("window-override-redirect", pspec = g_param_spec_boolean ("window-override-redirect",
"Window Override Redirect", P_("Window Override Redirect"),
"If this is an override-redirect window", P_("If this is an override-redirect window"),
FALSE, FALSE,
G_PARAM_READABLE); G_PARAM_READABLE);
@ -638,7 +635,7 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
* Since: 0.8 * Since: 0.8
*/ */
signals[UPDATE_AREA] = signals[UPDATE_AREA] =
g_signal_new ("update-area", g_signal_new (g_intern_static_string ("update-area"),
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (ClutterX11TexturePixmapClass, \ G_STRUCT_OFFSET (ClutterX11TexturePixmapClass, \
@ -695,7 +692,7 @@ clutter_x11_texture_pixmap_class_init (ClutterX11TexturePixmapClass *klass)
if (!CLUTTER_IS_BACKEND_X11 (default_backend)) if (!CLUTTER_IS_BACKEND_X11 (default_backend))
{ {
g_critical ("ClutterX11TexturePixmap instanciated with a " g_critical ("ClutterX11TexturePixmap instantiated with a "
"non-X11 backend"); "non-X11 backend");
return; return;
} }

View File

@ -1,16 +1,52 @@
# keep sorted alphabetically! # keep sorted alphabetically!
clutter/clutter-actor.c clutter/clutter-actor.c
clutter/clutter-actor-meta.c
clutter/clutter-align-constraint.c
clutter/clutter-alpha.c
clutter/clutter-animation.c
clutter/clutter-animator.c
clutter/clutter-behaviour.c clutter/clutter-behaviour.c
clutter/clutter-behaviour-depth.c
clutter/clutter-behaviour-ellipse.c
clutter/clutter-behaviour-opacity.c
clutter/clutter-behaviour-path.c
clutter/clutter-behaviour-rotate.c
clutter/clutter-behaviour-scale.c
clutter/clutter-bind-constraint.c
clutter/clutter-bin-layout.c
clutter/clutter-binding-pool.c
clutter/clutter-box.c
clutter/clutter-box-layout.c
clutter/clutter-cairo-texture.c
clutter/clutter-child-meta.c
clutter/clutter-click-action.c
clutter/clutter-clone.c
clutter/clutter-color.c clutter/clutter-color.c
clutter/clutter-colorize-effect.c
clutter/clutter-container.c clutter/clutter-container.c
clutter/clutter-deform-effect.c
clutter/clutter-desaturate-effect.c
clutter/clutter-device-manager.c
clutter/clutter-drag-action.c
clutter/clutter-event.c clutter/clutter-event.c
clutter/clutter-fixed.c clutter/clutter-fixed.c
clutter/clutter-fixed.h clutter/clutter-fixed.h
clutter/clutter-flow-layout.c
clutter/clutter-input-device.c
clutter/clutter-interval.c
clutter/clutter-layout-meta.c
clutter/clutter-main.c clutter/clutter-main.c
clutter/clutter-media.c
clutter/clutter-rectangle.c
clutter/clutter-script.c
clutter/clutter-shader.c clutter/clutter-shader.c
clutter/clutter-shader-effect.c
clutter/clutter-stage-window.c clutter/clutter-stage-window.c
clutter/clutter-stage.c clutter/clutter-stage.c
clutter/clutter-state.c
clutter/clutter-text.c
clutter/clutter-texture.c clutter/clutter-texture.c
clutter/clutter-units.c clutter/clutter-units.c
clutter/glx/clutter-backend-glx.c clutter/glx/clutter-backend-glx.c
clutter/x11/clutter-backend-x11.c clutter/x11/clutter-backend-x11.c
clutter/x11/clutter-x11-texture-pixmap.c