projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab71b3
)
Fix g2g_object_class_list_properties() so that num_properties gets set.
author
Richard Boulton
<richard@tartarus.org>
Tue, 26 Jun 2001 19:06:37 +0000
(19:06 +0000)
committer
Richard Boulton
<richard@tartarus.org>
Tue, 26 Jun 2001 19:06:37 +0000
(19:06 +0000)
Original commit message from CVS:
Fix g2g_object_class_list_properties() so that num_properties gets set.
gst/gobject2gtk.c
patch
|
blob
|
history
diff --git
a/gst/gobject2gtk.c
b/gst/gobject2gtk.c
index
75d8b30
..
d19767b
100644
(file)
--- a/
gst/gobject2gtk.c
+++ b/
gst/gobject2gtk.c
@@
-118,6
+118,7
@@
g2g_object_class_list_properties(GtkObjectClass *oclass,guint *n_properties) {
int i;
args = gtk_object_query_args (type, &flags, &num_args);
+ // FIXME: args and flags need to be freed.
params = g_new0(GParamSpec *,num_args);
for (i=0;i<num_args;i++) {
@@
-127,6
+128,8
@@
g2g_object_class_list_properties(GtkObjectClass *oclass,guint *n_properties) {
params[i]->flags = flags[i];
}
+ *n_properties = num_args;
+
return params;
}