gnomemm r1397 - in gstreamermm/trunk: . gstreamer/src



Author: jaalburqu
Date: Fri Mar  7 23:11:35 2008
New Revision: 1397
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1397&view=rev

Log:
2008-03-07  Josà Alburquerque  <jaalburqu svn gnome org>

	* gstreamer/src/structure.ccg: Added return of "this Structure" in
	set_field() and remove_field() (had neglected this in last commit
	thus not allowing test-structure to run)

Modified:
   gstreamermm/trunk/ChangeLog
   gstreamermm/trunk/gstreamer/src/structure.ccg

Modified: gstreamermm/trunk/gstreamer/src/structure.ccg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/structure.ccg	(original)
+++ gstreamermm/trunk/gstreamer/src/structure.ccg	Fri Mar  7 23:11:35 2008
@@ -62,12 +62,14 @@
 Structure::set_field(const Glib::ustring& fieldname, const Glib::ValueBase& value)
 {
   gst_structure_set_value(gobj(), fieldname.c_str(), value.gobj());
+  return *this;
 }
 
 Structure&
 Structure::remove_field(const Glib::ustring& fieldname)
 {
   gst_structure_remove_field(gobj(), fieldname.c_str());
+  return *this;
 }
 
 bool



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]