Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
4453c2ce
Commit
4453c2ce
authored
Jan 23, 2012
by
Stefan Sauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
object: register all properties in one go
parent
55eea8f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
gst/gstobject.c
gst/gstobject.c
+2
-4
No files found.
gst/gstobject.c
View file @
4453c2ce
...
...
@@ -213,14 +213,12 @@ gst_object_class_init (GstObjectClass * klass)
properties
[
PROP_NAME
]
=
g_param_spec_string
(
"name"
,
"Name"
,
"The name of the object"
,
NULL
,
G_PARAM_READWRITE
|
G_PARAM_CONSTRUCT
|
G_PARAM_STATIC_STRINGS
);
g_object_class_install_property
(
gobject_class
,
PROP_NAME
,
properties
[
PROP_NAME
]);
properties
[
PROP_PARENT
]
=
g_param_spec_object
(
"parent"
,
"Parent"
,
"The parent of the object"
,
GST_TYPE_OBJECT
,
G_PARAM_READWRITE
|
G_PARAM_STATIC_STRINGS
);
g_object_class_install_property
(
gobject_class
,
PROP_PARENT
,
properties
[
PROP_PARENT
]
);
g_object_class_install_properties
(
gobject_class
,
PROP_LAST
,
properties
);
/**
* GstObject::deep-notify:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment