mirror of
https://github.com/brl/mutter.git
synced 2025-05-05 22:54:56 +00:00
script: Coding style clean-ups
This commit is contained in:
parent
179a66c922
commit
5c67e8e0c0
@ -381,6 +381,7 @@ static void
|
||||
clutter_script_class_init (ClutterScriptClass *klass)
|
||||
{
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||
GParamSpec *pspec;
|
||||
|
||||
g_type_class_add_private (klass, sizeof (ClutterScriptPrivate));
|
||||
|
||||
@ -392,34 +393,33 @@ clutter_script_class_init (ClutterScriptClass *klass)
|
||||
/**
|
||||
* ClutterScript:filename-set:
|
||||
*
|
||||
* Whether the ClutterScript:filename property is set. If this property
|
||||
* Whether the #ClutterScript:filename property is set. If this property
|
||||
* is %TRUE then the currently parsed data comes from a file, and the
|
||||
* file name is stored inside the ClutterScript:filename property.
|
||||
* file name is stored inside the #ClutterScript:filename property.
|
||||
*
|
||||
* Since: 0.6
|
||||
*/
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_FILENAME_SET,
|
||||
g_param_spec_boolean ("filename-set",
|
||||
pspec = g_param_spec_boolean ("filename-set",
|
||||
"Filename Set",
|
||||
"Whether the :filename property is set",
|
||||
FALSE,
|
||||
CLUTTER_PARAM_READABLE));
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_FILENAME_SET, pspec);
|
||||
|
||||
/**
|
||||
* ClutterScript:filename:
|
||||
*
|
||||
* The path of the currently parsed file. If ClutterScript:filename-set
|
||||
* The path of the currently parsed file. If #ClutterScript:filename-set
|
||||
* is %FALSE then the value of this property is undefined.
|
||||
*
|
||||
* Since: 0.6
|
||||
*/
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_FILENAME,
|
||||
g_param_spec_string ("filename",
|
||||
pspec = g_param_spec_string ("filename",
|
||||
"Filename",
|
||||
"The path of the currently parsed file",
|
||||
NULL,
|
||||
CLUTTER_PARAM_READABLE));
|
||||
CLUTTER_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class, PROP_FILENAME, pspec);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user