summaryrefslogtreecommitdiff
path: root/gio/src/desktopappinfo.hg
diff options
context:
space:
mode:
Diffstat (limited to 'gio/src/desktopappinfo.hg')
-rw-r--r--gio/src/desktopappinfo.hg4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/desktopappinfo.hg b/gio/src/desktopappinfo.hg
index e2afc0f1..ebf86e60 100644
--- a/gio/src/desktopappinfo.hg
+++ b/gio/src/desktopappinfo.hg
@@ -48,8 +48,8 @@ class GIOMM_API DesktopAppInfo
_IMPLEMENTS_INTERFACE(AppInfo)
public:
- // TODO: should use _WRAP_CREATE(), but these functions do more than just call
- // g_object_new() because there's quite a bit of error-handling to do.
+ // We can't use _WRAP_CTOR() and _WRAP_CREATE() because the C functions do more
+ // than just call g_object_new(). There's quite a bit of error-handling to do.
_WRAP_METHOD(static Glib::RefPtr<DesktopAppInfo> create(const std::string& desktop_id), g_desktop_app_info_new)
_WRAP_METHOD(static Glib::RefPtr<DesktopAppInfo> create_from_keyfile(const Glib::RefPtr<Glib::KeyFile>& key_file), g_desktop_app_info_new_from_keyfile)
_WRAP_METHOD(static Glib::RefPtr<DesktopAppInfo> create_from_filename(const std::string& filename), g_desktop_app_info_new_from_filename)