[glibmm] AppInfo::get_all(): Fix ownership



commit 4b4e79598664aa59af4d0cee0dd185a53d1ebda3
Author: Pavel Vasin <rat4vier gmail com>
Date:   Sat Feb 23 13:43:10 2013 +0400

    AppInfo::get_all(): Fix ownership
    
    Bug #694505

 ChangeLog          |    6 ++++++
 gio/src/appinfo.hg |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ad91647..7608fa7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-02-25  Pavel Vasin  <rat4vier gmail com>
+
+       AppInfo::get_all(): Fix ownerships
+
+       Bug #694505
+
 2013-02-25  José Alburquerque  <jaalburquerque gmail com>
 
        TlsDatabase: Virtual function const correction.
diff --git a/gio/src/appinfo.hg b/gio/src/appinfo.hg
index 77c8093..4045757 100644
--- a/gio/src/appinfo.hg
+++ b/gio/src/appinfo.hg
@@ -212,7 +212,7 @@ public:
 
   _WRAP_METHOD(bool set_as_last_used_for_type(const std::string& content_type), 
g_app_info_set_as_last_used_for_type, errthrow)
 
-#m4 _CONVERSION(`GList*',`Glib::ListHandle<Glib::RefPtr<AppInfo> >',`Glib::ListHandle<Glib::RefPtr<AppInfo> 
($3, Glib::OWNERSHIP_SHALLOW)')
+#m4 _CONVERSION(`GList*',`Glib::ListHandle<Glib::RefPtr<AppInfo> >',`Glib::ListHandle<Glib::RefPtr<AppInfo> 
($3, Glib::OWNERSHIP_DEEP)')
   _WRAP_METHOD(static Glib::ListHandle<Glib::RefPtr<AppInfo> > get_all(), g_app_info_get_all)
 
   _WRAP_METHOD(static Glib::ListHandle<Glib::RefPtr<AppInfo> > get_all_for_type(const std::string& 
content_type), g_app_info_get_all_for_type)


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