glibmm r541 - in trunk: . gio/src tools/m4



Author: murrayc
Date: Fri Jan 25 20:52:17 2008
New Revision: 541
URL: http://svn.gnome.org/viewvc/glibmm?rev=541&view=rev

Log:
2008-01-25  Murray Cumming  <murrayc murrayc com>

* tools/m4/convert_gio.m4:
* gio/src/filterinputstream.hg: Added the _CLASS_* macro so this type  
is really wrapped.

Modified:
   trunk/ChangeLog
   trunk/gio/src/filterinputstream.hg
   trunk/tools/m4/convert_gio.m4

Modified: trunk/gio/src/filterinputstream.hg
==============================================================================
--- trunk/gio/src/filterinputstream.hg	(original)
+++ trunk/gio/src/filterinputstream.hg	Fri Jan 25 20:52:17 2008
@@ -30,6 +30,7 @@
 
 class FilterInputStream : public Gio::InputStream
 {
+  _CLASS_GOBJECT(FilterInputStream, GFilterInputStream, G_FILTER_INPUT_STREAM, Gio::InputStream, GInputStream)
 public:
   _WRAP_METHOD(Glib::RefPtr<InputStream> get_base_stream(),
                g_filter_input_stream_get_base_stream,

Modified: trunk/tools/m4/convert_gio.m4
==============================================================================
--- trunk/tools/m4/convert_gio.m4	(original)
+++ trunk/tools/m4/convert_gio.m4	Fri Jan 25 20:52:17 2008
@@ -64,12 +64,17 @@
 # FileOutputStream
 _CONVERSION(`GFileOutputStream*',`Glib::RefPtr<FileOutputStream>',`Glib::wrap($3)')
 
+# FilterInputStream
+#_CONVERSION(`GFilterInputStream*',`Glib::RefPtr<FilterInputStream>',`Glib::wrap($3)')
+
+
 # Icon
 _CONVERSION(`GIcon*',`Glib::RefPtr<Icon>',`Glib::wrap($3)')
 _CONVERSION(`const Glib::RefPtr<Icon>&',`GIcon*',__CONVERT_CONST_REFPTR_TO_P)
 
 # InputStream
 _CONVERSION(`const Glib::RefPtr<InputStream>&',`GInputStream*',__CONVERT_CONST_REFPTR_TO_P)
+_CONVERSION(`GInputStream*',`Glib::RefPtr<InputStream>',`Glib::wrap($3)')
 
 #Mount
 _CONVERSION(`GMount*',`Glib::RefPtr<Mount>',`Glib::wrap($3)')



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