glibmm r571 - in trunk: . gio/src



Author: murrayc
Date: Sun Feb  3 12:18:54 2008
New Revision: 571
URL: http://svn.gnome.org/viewvc/glibmm?rev=571&view=rev

Log:
2008-02-03  Murray Cumming  <murrayc murrayc com>

* gio/src/filemonitor.hg: Add class documentation, now that there is 
some in gio.
* gio/src/volumemonitor.hg: Add class documentation.
Remove _DO_NOT_DERIVE_GTYPE because gio no longer abuses the type 
system - see bug #511814.

Modified:
   trunk/ChangeLog
   trunk/gio/src/filemonitor.hg
   trunk/gio/src/volumemonitor.hg

Modified: trunk/gio/src/filemonitor.hg
==============================================================================
--- trunk/gio/src/filemonitor.hg	(original)
+++ trunk/gio/src/filemonitor.hg	Sun Feb  3 12:18:54 2008
@@ -32,7 +32,12 @@
 class File;
 
 /** Monitors a file or directory for changes.
- * TODO: Documentation: See http://bugzilla.gnome.org/show_bug.cgi?id=509994.
+ * To obtain a FileMonitor for a file or directory, use File::monitor_file() or 
+ * File::monitor_directory().
+ * 
+ * To get informed about changes to the file or directory you are monitoring, 
+ * connect to signal_changed.
+ *
  * @newin2p16
  */
 class FileMonitor : public Glib::Object

Modified: trunk/gio/src/volumemonitor.hg
==============================================================================
--- trunk/gio/src/volumemonitor.hg	(original)
+++ trunk/gio/src/volumemonitor.hg	Sun Feb  3 12:18:54 2008
@@ -28,16 +28,15 @@
 {
 
 /** Monitors a file or directory for changes.
- * TODO: Documentation: See http://bugzilla.gnome.org/show_bug.cgi?id=509994.
+ * VolumeMonitor is for listing the user-interesting devices and volumes on the 
+ * computer. In other words, what a file selector or file manager would show in 
+ * a sidebar.
+ *
  * @newin2p16
  */
 class VolumeMonitor : public Glib::Object
 {
   _CLASS_GOBJECT(VolumeMonitor, GVolumeMonitor, G_VOLUME_MONITOR, Glib::Object, GObject)
-   //We do not create a derived GType for this wrapper class because gio would then try to use it as a possible native volume monitor.
-   //See bug http://bugzilla.gnome.org/show_bug.cgi?id=511814
-   //Note that this means that we can't have default signal handlers of vfuncs.
-  _DO_NOT_DERIVE_GTYPE
 protected:
 
 public:



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