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:
cd3b66f
)
return NULL from g2g_object_class_find_property if gtk_object_arg_get_info returns...
author
Steve Baker
<steve@stevebaker.org>
Sun, 1 Jul 2001 16:01:24 +0000
(16:01 +0000)
committer
Steve Baker
<steve@stevebaker.org>
Sun, 1 Jul 2001 16:01:24 +0000
(16:01 +0000)
Original commit message from CVS:
return NULL from g2g_object_class_find_property if gtk_object_arg_get_info returns an error
gst/gobject2gtk.c
patch
|
blob
|
history
diff --git
a/gst/gobject2gtk.c
b/gst/gobject2gtk.c
index
d19767b
..
9ea5285
100644
(file)
--- a/
gst/gobject2gtk.c
+++ b/
gst/gobject2gtk.c
@@
-91,10
+91,13
@@
g2g_object_class_find_property(GtkObjectClass *class,gchar *name)
{
GtkArgInfo *info;
GParamSpec *spec;
-
//fprintf(stderr,"class name is %s\n",gtk_type_name(class->type));
- gtk_object_arg_get_info(class->type,name,&info);
+ // return NULL if no info found
+ if (gtk_object_arg_get_info(class->type,name,&info)){
+ return NULL;
+ }
+
spec = g_new0(GParamSpec,1);
if (info) {