gnomemm r1578 - in geglmm/trunk: . libgegl/src
- From: hub svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1578 - in geglmm/trunk: . libgegl/src
- Date: Sun, 22 Jun 2008 13:26:32 +0000 (UTC)
Author: hub
Date: Sun Jun 22 13:26:32 2008
New Revision: 1578
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1578&view=rev
Log:
* libgegl/src/node.hg: fix some warnings triggered by
-Wshadow.
Modified:
geglmm/trunk/ChangeLog
geglmm/trunk/NEWS
geglmm/trunk/libgegl/src/node.hg
Modified: geglmm/trunk/NEWS
==============================================================================
--- geglmm/trunk/NEWS (original)
+++ geglmm/trunk/NEWS Sun Jun 22 13:26:32 2008
@@ -8,7 +8,10 @@
- NEW: Gegl::Buffer::flush()
- NEW: Gegl::Buffer::clear()
- NEW: Gegl::Buffer::get_format()
+ - BUG: remove spurious ';' in buffer.hg
+ - BUG: fix some other warnings in node.hg
+ - BUG: the headers are in libgeglmm/
0.0.16
- - initial release. API/ABI unstable.
\ No newline at end of file
+ - initial release. API/ABI unstable.
Modified: geglmm/trunk/libgegl/src/node.hg
==============================================================================
--- geglmm/trunk/libgegl/src/node.hg (original)
+++ geglmm/trunk/libgegl/src/node.hg Sun Jun 22 13:26:32 2008
@@ -33,7 +33,7 @@
class Operation;
_WRAP_ENUM(BlitFlags, GeglBlitFlags, NO_GTYPE)
-
+
class Node
: public Glib::Object
{
@@ -50,7 +50,7 @@
*/
Glib::RefPtr<Node> new_child(const Glib::ustring & first_property_name, const Glib::ustring & first_value);
_IGNORE(gegl_node_new_child)
-
+
_WRAP_METHOD(bool connect_from(const Glib::ustring & input_pad_name, const Glib::RefPtr<Node> & source, const Glib::ustring & output_pad_name), gegl_node_connect_from)
_WRAP_METHOD(bool connect_to(const Glib::ustring & output_pad_name, const Glib::RefPtr<Node> & sink, const Glib::ustring & input_pad_name), gegl_node_connect_to)
@@ -64,7 +64,7 @@
_IGNORE(gegl_node_get)
// _WRAP_METHOD(void set(const Glib::ustring & first_property_name, ...) G_GNUC_NULL_TERMINATED, gegl_node_set)
// _WRAP_METHOD(void get(const Glib::ustring & first_property_name, ...) G_GNUC_NULL_TERMINATED, gegl_node_get)
-
+
_WRAP_METHOD(void blit(double scale, const Rectangle &roi, const Babl * format, void * destination_buf, int rowstride, BlitFlags flags), gegl_node_blit)
_WRAP_METHOD(void process(), gegl_node_process)
// not sure.
@@ -107,9 +107,9 @@
_IGNORE(gegl_node_set_property)
template <class T>
- Node & set(const Glib::ustring & property_name, const T & value);
+ Node & set(const Glib::ustring & _property_name, const T & value);
template <class T>
- Node & get(const Glib::ustring & property_name, T & value);
+ Node & get(const Glib::ustring & _property_name, T & value);
_WRAP_METHOD(static Glib::RefPtr<Node> new_from_xml(const Glib::ustring & xmldata, const Glib::ustring & path_root), gegl_node_new_from_xml)
_WRAP_METHOD(static Glib::RefPtr<Node> new_from_file(const Glib::ustring & path), gegl_node_new_from_file)
@@ -128,21 +128,21 @@
};
template <class T>
-Node & Node::set(const Glib::ustring & property_name, const T & value)
+Node & Node::set(const Glib::ustring & _property_name, const T & value)
{
Glib::Value<T> v;
v.init(Glib::Value<T>::value_type());
v.set(value);
- gegl_node_set_property(gobj(), property_name.c_str(), v.gobj());
+ gegl_node_set_property(gobj(), _property_name.c_str(), v.gobj());
return *this;
}
template <class T>
-Node & Node::get(const Glib::ustring & property_name, T & value)
+Node & Node::get(const Glib::ustring & _property_name, T & value)
{
Glib::Value<T> v;
v.init(Glib::Value<T>::value_type());
- gegl_node_get_property(gobj(), property_name.c_str(), v.gobj());
+ gegl_node_get_property(gobj(), _property_name.c_str(), v.gobj());
value = v.get();
return *this;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]