After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509994 - GFileMonitor documentation doesn't say how to get one.
GFileMonitor documentation doesn't say how to get one.
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
2.15.x
Other Linux
: Normal normal
: ---
Assigned To: Alexander Larsson
gtkdev
Depends on:
Blocks:
 
 
Reported: 2008-01-16 20:20 UTC by Murray Cumming
Modified: 2008-01-25 17:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2008-01-16 20:20:47 UTC
The GFileMonitor documentation 
http://library.gnome.org/devel/gio/unstable/GFileMonitor.html
doesn't say how to instantiate or get an instance.

I guess that it should recommend the use of functions such as g_file_monitor_directory().

It should probably also mention the "changed" signal in the description, and the documentation for the signal should probably mention that its emitted for directory changes as well as file changes.
Comment 1 Murray Cumming 2008-01-24 16:11:05 UTC
I'll add a mention of g_file_monitor_file() and g_file_monitor_directory() to fix this, I guess.
Comment 2 Matthias Clasen 2008-01-25 17:38:32 UTC
2008-01-25  Matthias Clasen  <mclasen@redhat.com>

        * gfilemonitor.c: Add references to g_file_monitor_file/directory()
        (#509994, Murray Cumming)