Doc: fix some gtk-doc warnings

https://bugzilla.gnome.org/show_bug.cgi?id=755364
This commit is contained in:
Xavier Claessens 2015-09-21 13:24:44 -04:00
parent 7dd9ffbcff
commit 2331437df3
6 changed files with 23 additions and 4 deletions

View File

@ -2319,6 +2319,7 @@ GSequenceIterCompareFunc
g_sequence_new
g_sequence_free
g_sequence_get_length
g_sequence_is_empty
g_sequence_foreach
g_sequence_foreach_range
g_sequence_sort

View File

@ -259,6 +259,21 @@ g_file_monitor_set_rate_limit (GFileMonitor *monitor,
g_object_set (monitor, "rate-limit", limit_msecs, NULL);
}
/**
* g_file_monitor_emit_event:
* @monitor: a #GFileMonitor.
* @child: a #GFile.
* @other_file: a #GFile.
* @event_type: a set of #GFileMonitorEvent flags.
*
* Emits the #GFileMonitor::changed signal if a change
* has taken place. Should be called from file monitor
* implementations only.
*
* Implementations are responsible to call this method from the
* [thread-default main context][g-main-context-push-thread-default] of the
* thread that the monitor was created in.
**/
void
g_file_monitor_emit_event (GFileMonitor *monitor,
GFile *child,

View File

@ -73,7 +73,7 @@ GLIB_AVAILABLE_IN_ALL
GSocketAddressEnumerator *g_socket_connectable_proxy_enumerate (GSocketConnectable *connectable);
GLIB_AVAILABLE_IN_2_48
gchar *g_socket_connectable_to_string (GSocketConnectable *addr);
gchar *g_socket_connectable_to_string (GSocketConnectable *connectable);
G_END_DECLS

View File

@ -486,6 +486,9 @@ g_mem_set_vtable (GMemVTable *vtable)
/**
* glib_mem_profiler_table:
*
* Used to be a #GMemVTable containing profiling variants of the memory
* allocation functions, but this variable shouldn't be modified anymore.
*
* Deprecated: 2.46: Use other memory profiling tools instead
*/
GMemVTable *glib_mem_profiler_table = &glib_mem_vtable;

View File

@ -1572,7 +1572,7 @@ g_param_spec_get_default_value (GParamSpec *pspec)
/**
* g_param_spec_get_name_quark:
* @param: a #GParamSpec
* @pspec: a #GParamSpec
*
* Gets the GQuark for the name.
*

View File

@ -341,10 +341,10 @@ GLIB_DEPRECATED_FOR(g_value_take_param)
void g_value_set_param_take_ownership (GValue *value,
GParamSpec *param);
GLIB_AVAILABLE_IN_2_36
const GValue * g_param_spec_get_default_value (GParamSpec *param);
const GValue * g_param_spec_get_default_value (GParamSpec *pspec);
GLIB_AVAILABLE_IN_2_46
GQuark g_param_spec_get_name_quark (GParamSpec *param);
GQuark g_param_spec_get_name_quark (GParamSpec *pspec);
/* --- convenience functions --- */
typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo;