plugins/elements/gstfilesrc.c: Remove superfluous g_object_notify() calls, GObject...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 25 Jul 2006 19:37:05 +0000 (19:37 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 25 Jul 2006 19:37:05 +0000 (19:37 +0000)
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.

ChangeLog
plugins/elements/gstfilesrc.c

index 906e536..6b16dd1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 845ce41..8db8237 100644 (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);