2005-12-19 Matthias Clasen <mclasen@redhat.com>
+ * glib/tmpl/*.sgml: Update versioned deprecation
+
* gobject/tmpl/gboxed.sgml: Document G_TYPE_HASH_TABLE.
* glib/glib-sections.txt: Add g_list_free1
(GLib uses 128 elements per block by default.) The value must be between 1
and 65535.
@Returns: a new #GAllocator.
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
instead
</para>
@allocator: a #GAllocator.
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
instead
@cache: a #GCache.
@func: the function to call with each #GCache value.
@user_data: user data to pass to the function.
-<!-- # Unused Parameters # -->
-@Deprecated:2.10: The reason is that it passes pointers to internal data
+@Deprecated: 2.10: The reason is that it passes pointers to internal data
structures to @func; use g_cache_key_foreach() instead
@list: a #GList element.
+<!-- ##### MACRO g_list_free1 ##### -->
+<para>
+
+</para>
+
+
+
<!-- ##### FUNCTION g_list_length ##### -->
<para>
Gets the number of elements in a #GList.
</para>
@allocator: the #GAllocator to use when allocating #GList elements.
-<!-- # Unused Parameters # -->
-@Deprecated:2.10: It does nothing, since #GList has been
+@Deprecated: 2.10: It does nothing, since #GList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
with <option>--disable-mem-pools</option>
</para>
-<!-- # Unused Parameters # -->
-@Deprecated:2.10: It does nothing, since #GList has been
+@Deprecated: 2.10: It does nothing, since #GList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
</para>
@dummy: the #GAllocator to use when allocating #GSList elements.
-<!-- # Unused Parameters # -->
-@Deprecated:2.10: It does nothing, since #GSList has been
+@Deprecated: 2.10: It does nothing, since #GSList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
with <option>--disable-mem-pools</option>
</para>
-<!-- # Unused Parameters # -->
-@Deprecated:2.10: It does nothing, since #GSList has been
+@Deprecated: 2.10: It does nothing, since #GSList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
@is_running: set to %TRUE to indicate that the loop is running. This is not
very important since calling g_main_run() will set this to %TRUE anyway.
@Returns: a new #GMainLoop.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_main_loop_new() instead.
+@Deprecated: 2.2: Use g_main_loop_new() instead.
<!-- ##### MACRO g_main_destroy ##### -->
</para>
@loop: a #GMainLoop.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_main_loop_unref() instead.
+@Deprecated: 2.2: Use g_main_loop_unref() instead.
<!-- ##### MACRO g_main_run ##### -->
</para>
@loop: a #GMainLoop.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_main_loop_run() instead.
+@Deprecated: 2.2: Use g_main_loop_run() instead.
<!-- ##### MACRO g_main_quit ##### -->
</para>
@loop: a #GMainLoop.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_main_loop_quit() instead.
+@Deprecated: 2.2: Use g_main_loop_quit() instead.
<!-- ##### MACRO g_main_is_running ##### -->
@loop: a #GMainLoop.
@Returns: %TRUE if the main loop is running.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: USe g_main_loop_is_running() instead.
+@Deprecated: 2.2: USe g_main_loop_is_running() instead.
<!-- ##### MACRO G_PRIORITY_HIGH ##### -->
If set to %FALSE it will return immediately if no event source is ready to be
processed.
@Returns: %TRUE if more events are pending.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_main_context_iteration() instead.
+@Deprecated: 2.2: Use g_main_context_iteration() instead.
<!-- ##### FUNCTION g_main_context_pending ##### -->
</para>
@Returns: %TRUE if any events are pending.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_main_context_pending() instead.
+@Deprecated: 2.2: Use g_main_context_pending() instead.
<!-- ##### FUNCTION g_main_context_find_source_by_id ##### -->
</para>
@func: the function to call to poll all file descriptors.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_main_context_set_poll_func() instead.
+@Deprecated: 2.2: Use g_main_context_set_poll_func() instead.
<!-- ##### FUNCTION g_timeout_source_new ##### -->
#G_ALLOC_ONLY is quicker, since it does not need to track free atoms,
but it obviously wastes memory if you no longer need many of the atoms.
@Returns: the new #GMemChunk.
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
instead
@mem_chunk: a #GMemChunk.
@Returns: a pointer to the allocated atom.
-@Deprecated: Use g_slice_alloc() instead
+@Deprecated: 2.10: Use g_slice_alloc() instead
<!-- ##### FUNCTION g_mem_chunk_alloc0 ##### -->
@mem_chunk: a #GMemChunk.
@Returns: a pointer to the allocated atom.
-@Deprecated: Use g_slice_alloc0() instead
+@Deprecated: 2.10: Use g_slice_alloc0() instead
<!-- ##### FUNCTION g_mem_chunk_free ##### -->
@mem_chunk: a #GMemChunk.
@mem: a pointer to the atom to free.
-@Deprecated: Use g_slice_free1() instead
+@Deprecated: 2.10: Use g_slice_free1() instead
<!-- ##### FUNCTION g_mem_chunk_destroy ##### -->
</para>
@mem_chunk: a #GMemChunk.
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
- instead
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice
+ allocator</link> instead
<!-- ##### MACRO g_mem_chunk_create ##### -->
#G_ALLOC_ONLY is quicker, since it does not need to track free atoms,
but it obviously wastes memory if you no longer need many of the atoms.
@Returns: the new #GMemChunk.
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
- instead
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice
+ allocator</link> instead
<!-- ##### MACRO g_chunk_new ##### -->
@type: the type of the #GMemChunk atoms, typically a structure name.
@chunk: a #GMemChunk.
@Returns: a pointer to the allocated atom, cast to a pointer to @type.
-@Deprecated: Use g_slice_new() instead
+@Deprecated: 2.10: Use g_slice_new() instead
<!-- ##### MACRO g_chunk_new0 ##### -->
@type: the type of the #GMemChunk atoms, typically a structure name.
@chunk: a #GMemChunk.
@Returns: a pointer to the allocated atom, cast to a pointer to @type.
-@Deprecated: Use g_slice_new0() instead
+@Deprecated: 2.10: Use g_slice_new0() instead
<!-- ##### MACRO g_chunk_free ##### -->
@mem: a pointer to the atom to be freed.
@mem_chunk: a #GMemChunk.
-@Deprecated: Use g_slice_free() instead
+@Deprecated: 2.10: Use g_slice_free() instead
<!-- ##### FUNCTION g_mem_chunk_reset ##### -->
</para>
@mem_chunk: a #GMemChunk.
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
- instead
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice
+ allocator</link> instead
<!-- ##### FUNCTION g_mem_chunk_clean ##### -->
</para>
@mem_chunk: a #GMemChunk.
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
- instead
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice
+ allocator</link> instead
<!-- ##### FUNCTION g_blow_chunks ##### -->
Calls g_mem_chunk_clean() on all #GMemChunk objects.
</para>
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
- instead
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice
+ allocator</link> instead
<!-- ##### FUNCTION g_mem_chunk_info ##### -->
and calls g_mem_chunk_print() to output information on each one.
</para>
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
- instead
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice
+ allocator</link> instead
<!-- ##### FUNCTION g_mem_chunk_print ##### -->
</para>
@mem_chunk: a #GMemChunk.
-@Deprecated: Use the <link linkend="glib-Memory-Slices">slice allocator</link>
- instead
+@Deprecated: 2.10: Use the <link linkend="glib-Memory-Slices">slice
+ allocator</link> instead
@...: format string, followed by parameters to insert into the format string (as with printf())
+@...:
+
+@...:
+
<!-- ##### MACRO g_warning ##### -->
<para>
@...: format string, followed by parameters to insert into the format string (as with printf())
+@...:
+
+@...:
+
<!-- ##### MACRO g_critical ##### -->
<para>
@...: format string, followed by parameters to insert into the format string (as with printf())
+@...:
+
+@...:
+
<!-- ##### MACRO g_error ##### -->
<para>
@...: the parameters to insert into the format string.
+@...:
+
+@...:
+
<!-- ##### MACRO g_debug ##### -->
<para>
</para>
@...: format string, followed by parameters to insert into the format string (as with printf())
+
+@...:
+
+@...:
@Since: 2.6
</para>
@scanner: a #GScanner.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: This macro does nothing.
+@Deprecated: 2.2: This macro does nothing.
<!-- ##### MACRO g_scanner_thaw_symbol_table ##### -->
</para>
@scanner: a #GScanner.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: This macro does nothing.
+@Deprecated: 2.2: This macro does nothing.
<!-- ##### FUNCTION g_scanner_lookup_symbol ##### -->
@scanner: a #GScanner.
@symbol: the symbol to add.
@value: the value of the symbol.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_scanner_scope_add_symbol() instead.
+@Deprecated: 2.2: Use g_scanner_scope_add_symbol() instead.
<!-- ##### MACRO g_scanner_remove_symbol ##### -->
@scanner: a #GScanner.
@symbol: the symbol to remove.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_scanner_scope_remove_symbol() instead.
+@Deprecated: 2.2: Use g_scanner_scope_remove_symbol() instead.
<!-- ##### MACRO g_scanner_foreach_symbol ##### -->
@scanner: a #GScanner.
@func: the function to call with each symbol.
@data: data to pass to the function.
-<!-- # Unused Parameters # -->
-@Deprecated:2.2: Use g_scanner_scope_foreach_symbol() instead.
+@Deprecated: 2.2: Use g_scanner_scope_foreach_symbol() instead.
</para>
@Deprecated: This function has been renamed to g_string_printf().
-<!-- # Unused Parameters # -->
@string: a #GString.
@format: the string format. See the sprintf() documentation.
@Varargs: the parameters to insert into the format string.
</para>
@Deprecated: This function has been renamed to g_string_append_printf().
-<!-- # Unused Parameters # -->
@string: a #GString.
@format: the string format. See the sprintf() documentation.
@Varargs: the parameters to insert into the format string.
</para>
@dummy: the #GAllocator to use when allocating #GNode elements.
-<!-- # Unused Parameters # -->
-@Deprecated:2.10: It does nothing, since #GNode has been converted
+@Deprecated: 2.10: It does nothing, since #GNode has been converted
to the <link linkend="glib-Memory-Slices">slice allocator</link>
with <option>--disable-mem-pools</option>
</para>
-<!-- # Unused Parameters # -->
-@Deprecated:2.10: It does nothing, since #GNode has been converted
+@Deprecated: 2.10: It does nothing, since #GNode has been converted
to the <link linkend="glib-Memory-Slices">slice allocator</link>