plugins/elements/gstfilesrc.c: Remove superfluous g_object_notify() calls, GObject does that for us automatically.

Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
Remove superfluous g_object_notify() calls, GObject does
that for us automatically.
This commit is contained in:
Tim-Philipp Müller 2006-07-25 19:37:05 +00:00
parent 894bf5c06a
commit 5a3d69e5be
2 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
* plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
Remove superfluous g_object_notify() calls, GObject does
that for us automatically.
2006-07-25 Stefan Kost <ensonic@users.sf.net>
* gst/gstinfo.h:

View file

@ -334,7 +334,6 @@ gst_file_src_set_property (GObject * object, guint prop_id,
case ARG_MMAPSIZE:
if ((src->mapsize % src->pagesize) == 0) {
src->mapsize = g_value_get_ulong (value);
g_object_notify (G_OBJECT (src), "mmapsize");
} else {
GST_INFO_OBJECT (src,
"invalid mapsize, must be a multiple of pagesize, which is %d",
@ -343,15 +342,12 @@ gst_file_src_set_property (GObject * object, guint prop_id,
break;
case ARG_TOUCH:
src->touch = g_value_get_boolean (value);
g_object_notify (G_OBJECT (src), "touch");
break;
case ARG_SEQUENTIAL:
src->sequential = g_value_get_boolean (value);
g_object_notify (G_OBJECT (src), "sequential");
break;
case ARG_USEMMAP:
src->use_mmap = g_value_get_boolean (value);
g_object_notify (G_OBJECT (src), "use-mmap");
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);