glibmm r681 - in trunk: . glib/glibmm



Author: jhs
Date: Wed Jul  2 22:09:19 2008
New Revision: 681
URL: http://svn.gnome.org/viewvc/glibmm?rev=681&view=rev

Log:
2008-06-30  Johannes Schmid  <jhs gnome org>

        * glib/glibmm/containerhandle_shared.h:
        Improve documentation of Glib::OwnershipType (#540875)



Modified:
   trunk/ChangeLog
   trunk/glib/glibmm/containerhandle_shared.h

Modified: trunk/glib/glibmm/containerhandle_shared.h
==============================================================================
--- trunk/glib/glibmm/containerhandle_shared.h	(original)
+++ trunk/glib/glibmm/containerhandle_shared.h	Wed Jul  2 22:09:19 2008
@@ -54,11 +54,16 @@
 /**
  * @ingroup ContHandles
  */
+ 
+//! Ownership of the container
+/*! Defines how and if the container will release the list and 
+ * its elemens when it is destroyed 
+ */
 enum OwnershipType
 {
-  OWNERSHIP_NONE = 0,
-  OWNERSHIP_SHALLOW, //Release the list, but not its elements, when the container is deleted
-  OWNERSHIP_DEEP //Release the list, and its elements, when the container is deleted.
+  OWNERSHIP_NONE = 0, /*!< Do not release anything */
+  OWNERSHIP_SHALLOW, /*!< Release the list, but not its elements, when the container is deleted */
+  OWNERSHIP_DEEP /*!< Release the list, and its elements, when the container is deleted. */
 };
 
 



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