gnomemm r1990 - in gstreamermm/trunk: . gstreamer/src
- From: jaalburqu svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1990 - in gstreamermm/trunk: . gstreamer/src
- Date: Mon, 12 Jan 2009 22:22:13 +0000 (UTC)
Author: jaalburqu
Date: Mon Jan 12 22:22:13 2009
New Revision: 1990
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1990&view=rev
Log:
2009-01-12 Josà Alburquerque <jaalburqu svn gnome org>
* gstreamer/src/ghostpad.ccg: Corrected template constructors'
warnings. Reformatted code to fit in 80 char width editor.
Modified:
gstreamermm/trunk/ChangeLog
gstreamermm/trunk/gstreamer/src/ghostpad.ccg
Modified: gstreamermm/trunk/gstreamer/src/ghostpad.ccg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/ghostpad.ccg (original)
+++ gstreamermm/trunk/gstreamer/src/ghostpad.ccg Mon Jan 12 22:22:13 2009
@@ -27,9 +27,10 @@
namespace Gst
{
-GhostPad::GhostPad(const Glib::ustring& name, const Glib::RefPtr<Gst::Pad>& target)
+GhostPad::GhostPad(const Glib::ustring& name,
+ const Glib::RefPtr<Gst::Pad>& target)
: _CONSTRUCT("name", name.c_str(),
- "direction", (GstPadDirection) target->get_direction())
+ "direction", (GstPadDirection) target->get_direction())
{
if (!gst_ghost_pad_construct(gobj()) ||
!gst_ghost_pad_set_target(gobj(), target->gobj()))
@@ -52,31 +53,35 @@
}
}
-GhostPad::GhostPad(const Glib::ustring& name, const Glib::RefPtr<Gst::Pad>& target,
+GhostPad::GhostPad(const Glib::ustring& name,
+ const Glib::RefPtr<Gst::Pad>& target,
const Glib::RefPtr<Gst::PadTemplate>& templ)
- : _CONSTRUCT("name", name.c_str(), "direction",
- (GstPadDirection) target->get_direction(), "template", templ->gobj())
+ : _CONSTRUCT("name", name.c_str(), "direction",
+ (GstPadDirection) target->get_direction(), "template", templ->gobj())
{
if (!gst_ghost_pad_construct(gobj()) ||
!gst_ghost_pad_set_target(gobj(), target->gobj()))
{
g_warning("Gst::GhostPad::GhostPad(const Glib::ustring&,"
" const Glib::RefPtr<Gst::Pad>&, const Glib::RefPtr<Gst::PadTemplate>&):"
- " Unsuccessful construction of ghost pad (name = %s, target = %s).",
- name.c_str(), target->get_name().c_str());
+ " Unsuccessful construction of ghost pad "
+ "(name = %s, target = %s, templ = %s).",
+ name.c_str(), target->get_name().c_str(),
+ templ->get_name_template().c_str());
}
}
-GhostPad::GhostPad(const Glib::ustring& name, const Glib::RefPtr<Gst::PadTemplate>& templ)
- : _CONSTRUCT("name", name.c_str(), "direction",
- (GstPadDirection) templ->get_direction(), "template", templ->gobj())
+GhostPad::GhostPad(const Glib::ustring& name,
+ const Glib::RefPtr<Gst::PadTemplate>& templ)
+ : _CONSTRUCT("name", name.c_str(), "direction",
+ (GstPadDirection) templ->get_direction(), "template", templ->gobj())
{
if (!gst_ghost_pad_construct(gobj()))
{
g_warning("Gst::GhostPad::GhostPad(const Glib::ustring&,"
" const Glib::RefPtr<Gst::PadTemplate>&): "
"Unsuccessful construction of ghost pad (name = %s, templ = %s).",
- name.c_str(), templ->get_name().c_str());
+ name.c_str(), templ->get_name_template().c_str());
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]