glibmm r612 - in trunk: . gio/src



Author: jaalburqu
Date: Thu Feb 21 17:30:56 2008
New Revision: 612
URL: http://svn.gnome.org/viewvc/glibmm?rev=612&view=rev

Log:
2008-02-21  Josà Alburquerque  <jaalburqu svn gnome org>

	* gio/src/desktopappinfo.hg: Used _WRAP_METHOD instead of _WRAP_CREATE
	for create() to allow docs from C API to be used

Modified:
   trunk/ChangeLog
   trunk/gio/src/desktopappinfo.hg

Modified: trunk/gio/src/desktopappinfo.hg
==============================================================================
--- trunk/gio/src/desktopappinfo.hg	(original)
+++ trunk/gio/src/desktopappinfo.hg	Thu Feb 21 17:30:56 2008
@@ -38,11 +38,8 @@
   _CLASS_GOBJECT(DesktopAppInfo, GDesktopAppInfo, G_DESKTOP_APP_INFO, Glib::Object, GObject)
   _IMPLEMENTS_INTERFACE(AppInfo)
 
-protected:
-  _WRAP_CTOR(DesktopAppInfo(const std::string& desktop_id), g_desktop_app_info_new)
-
 public:
-  _WRAP_CREATE(const std::string& desktop_id)
+  _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_filename(const std::string& filename), g_desktop_app_info_new_from_filename)
   _WRAP_METHOD(bool is_hidden(), g_desktop_app_info_get_is_hidden)
   _WRAP_METHOD(static void set_desktop_env(const std::string& desktop_env), g_desktop_app_info_set_desktop_env)



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