[glibmm] add some namespaced conversions for use by gdk



commit ac7e2dff1513c01970648ee5f27e5346e0bf9b34
Author: Jonathon Jongsma <jonathon quotidian org>
Date:   Mon Jun 29 23:16:29 2009 -0500

    add some namespaced conversions for use by gdk

 ChangeLog               |    6 ++++++
 tools/m4/convert_gio.m4 |    2 ++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 110374a..0672ff3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-29  Jonathon Jongsma  <jonathon quotidian org>
+
+	* tools/m4/convert_gio.m4: add some namespaced conversions so that I
+	  can use them for new api I'm wrapping in Gdk::Pixbuf.  Is there no
+	  other way to do this?
+
 2.21.1:
 
 2009-06-24  Daniel Elstner  <daniel kitta gmail com>
diff --git a/tools/m4/convert_gio.m4 b/tools/m4/convert_gio.m4
index 5a60ede..cf56daf 100644
--- a/tools/m4/convert_gio.m4
+++ b/tools/m4/convert_gio.m4
@@ -38,6 +38,7 @@ _CONVERSION(`Glib::RefPtr<AsyncResult>&',`GAsyncResult*',__CONVERT_REFPTR_TO_P)
 
 # Cancellable
 _CONVERSION(`const Glib::RefPtr<Cancellable>&',`GCancellable*',__CONVERT_CONST_REFPTR_TO_P)
+_CONVERSION(`const Glib::RefPtr<Gio::Cancellable>&',`GCancellable*',__CONVERT_CONST_REFPTR_TO_P)
 _CONVERSION(`GCancellable*', `Glib::RefPtr<Cancellable>', `Glib::wrap($3)')
 
 # DesktopAppInfo
@@ -99,6 +100,7 @@ _CONVERSION(`GInetAddress*',`Glib::RefPtr<InetAddress>',`Glib::wrap($3)')
 
 # InputStream
 _CONVERSION(`const Glib::RefPtr<InputStream>&',`GInputStream*',__CONVERT_CONST_REFPTR_TO_P)
+_CONVERSION(`const Glib::RefPtr<Gio::InputStream>&',`GInputStream*',__CONVERT_CONST_REFPTR_TO_P)
 _CONVERSION(`GInputStream*',`Glib::RefPtr<InputStream>',`Glib::wrap($3)')
 
 #Mount



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