projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a127920
)
Add versioned deprecation information
author
Matthias Clasen
<matthiasc@src.gnome.org>
Mon, 5 Dec 2005 15:38:54 +0000
(15:38 +0000)
committer
Matthias Clasen
<matthiasc@src.gnome.org>
Mon, 5 Dec 2005 15:38:54 +0000
(15:38 +0000)
17 files changed:
ChangeLog
patch
|
blob
|
history
ChangeLog.pre-2-10
patch
|
blob
|
history
ChangeLog.pre-2-12
patch
|
blob
|
history
docs/reference/ChangeLog
patch
|
blob
|
history
docs/reference/glib/tmpl/caches.sgml
patch
|
blob
|
history
docs/reference/glib/tmpl/linked_lists_double.sgml
patch
|
blob
|
history
docs/reference/glib/tmpl/linked_lists_single.sgml
patch
|
blob
|
history
docs/reference/glib/tmpl/main.sgml
patch
|
blob
|
history
docs/reference/glib/tmpl/scanner.sgml
patch
|
blob
|
history
docs/reference/glib/tmpl/trees-nary.sgml
patch
|
blob
|
history
docs/reference/gobject/tmpl/param_value_types.sgml
patch
|
blob
|
history
glib/gdate.c
patch
|
blob
|
history
glib/giochannel.c
patch
|
blob
|
history
glib/gstrfuncs.c
patch
|
blob
|
history
glib/gstring.c
patch
|
blob
|
history
glib/gtree.c
patch
|
blob
|
history
glib/gutils.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
ac06469
..
2aee878
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,12
@@
+2005-12-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdate.c:
+ * glib/gutils.c:
+ * glib/gtree.c:
+ * glib/gstring.c:
+ * glib/giochannel.c:
+ * glib/gstrfuncs.c: Add versioned deprecation docs.
+
2005-12-05 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt:
2005-12-05 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt:
diff --git
a/ChangeLog.pre-2-10
b/ChangeLog.pre-2-10
index
ac06469
..
2aee878
100644
(file)
--- a/
ChangeLog.pre-2-10
+++ b/
ChangeLog.pre-2-10
@@
-1,3
+1,12
@@
+2005-12-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdate.c:
+ * glib/gutils.c:
+ * glib/gtree.c:
+ * glib/gstring.c:
+ * glib/giochannel.c:
+ * glib/gstrfuncs.c: Add versioned deprecation docs.
+
2005-12-05 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt:
2005-12-05 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt:
diff --git
a/ChangeLog.pre-2-12
b/ChangeLog.pre-2-12
index
ac06469
..
2aee878
100644
(file)
--- a/
ChangeLog.pre-2-12
+++ b/
ChangeLog.pre-2-12
@@
-1,3
+1,12
@@
+2005-12-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gdate.c:
+ * glib/gutils.c:
+ * glib/gtree.c:
+ * glib/gstring.c:
+ * glib/giochannel.c:
+ * glib/gstrfuncs.c: Add versioned deprecation docs.
+
2005-12-05 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt:
2005-12-05 Martyn Russell <martyn@imendio.com>
* docs/reference/glib/glib-sections.txt:
diff --git
a/docs/reference/ChangeLog
b/docs/reference/ChangeLog
index
7f3346f
..
6c8c6cd
100644
(file)
--- a/
docs/reference/ChangeLog
+++ b/
docs/reference/ChangeLog
@@
-1,3
+1,13
@@
+2005-12-05 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/tmpl/trees-nary.sgml:
+ * glib/tmpl/linked_lists_single.sgml:
+ * glib/tmpl/linked_lists_double.sgml:
+ * glib/tmpl/caches.sgml:
+ * glib/tmpl/strings.sgml:
+ * glib/tmpl/scanner.sgml:
+ * glib/tmpl/main.sgml: Add versioned deprecation.
+
Mon Dec 5 15:53:37 2005 Tim Janik <timj@imendio.com>
* glib/tmpl/memory_slices.sgml: updates to new g_slice API
Mon Dec 5 15:53:37 2005 Tim Janik <timj@imendio.com>
* glib/tmpl/memory_slices.sgml: updates to new g_slice API
diff --git
a/docs/reference/glib/tmpl/caches.sgml
b/docs/reference/glib/tmpl/caches.sgml
index
65633ca
..
d522d32
100644
(file)
--- a/
docs/reference/glib/tmpl/caches.sgml
+++ b/
docs/reference/glib/tmpl/caches.sgml
@@
-123,8
+123,8
@@
Calls the given function for each of the values in the #GCache.
@cache: a #GCache.
@func: the function to call with each #GCache value.
@user_data: user data to pass to the function.
@cache: a #GCache.
@func: the function to call with each #GCache value.
@user_data: user data to pass to the function.
-@Deprecated:
Since it passes pointers to internal data structures
-to @func; use g_cache_key_foreach() instead
+@Deprecated:
2.10: The reason is that it passes pointers to internal data
+
structures
to @func; use g_cache_key_foreach() instead
<!-- ##### USER_FUNCTION GCacheDestroyFunc ##### -->
<!-- ##### USER_FUNCTION GCacheDestroyFunc ##### -->
diff --git
a/docs/reference/glib/tmpl/linked_lists_double.sgml
b/docs/reference/glib/tmpl/linked_lists_double.sgml
index
b33c3d6
..
cf3b935
100644
(file)
--- a/
docs/reference/glib/tmpl/linked_lists_double.sgml
+++ b/
docs/reference/glib/tmpl/linked_lists_double.sgml
@@
-502,7
+502,7
@@
with <option>--disable-mem-pools</option>
</para>
@allocator: the #GAllocator to use when allocating #GList elements.
</para>
@allocator: the #GAllocator to use when allocating #GList elements.
-@Deprecated:
Since 2.10, i
t does nothing, since #GList has been
+@Deprecated:
2.10: I
t does nothing, since #GList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
@@
-515,8
+515,7
@@
Note that this function is not available if GLib has been compiled
with <option>--disable-mem-pools</option>
</para>
with <option>--disable-mem-pools</option>
</para>
-@Deprecated:
Since 2.10, i
t does nothing, since #GList has been
+@Deprecated:
2.10: I
t does nothing, since #GList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
-
diff --git
a/docs/reference/glib/tmpl/linked_lists_single.sgml
b/docs/reference/glib/tmpl/linked_lists_single.sgml
index
e662274
..
64b7336
100644
(file)
--- a/
docs/reference/glib/tmpl/linked_lists_single.sgml
+++ b/
docs/reference/glib/tmpl/linked_lists_single.sgml
@@
-434,7
+434,7
@@
with <option>--disable-mem-pools</option>
</para>
@dummy: the #GAllocator to use when allocating #GSList elements.
</para>
@dummy: the #GAllocator to use when allocating #GSList elements.
-@Deprecated:
Since 2.10, i
t does nothing, since #GSList has been
+@Deprecated:
2.10: I
t does nothing, since #GSList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
@@
-447,8
+447,7
@@
Note that this function is not available if GLib has been compiled
with <option>--disable-mem-pools</option>
</para>
with <option>--disable-mem-pools</option>
</para>
-@Deprecated:
Since 2.10, i
t does nothing, since #GSList has been
+@Deprecated:
2.10: I
t does nothing, since #GSList has been
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
converted to the <link linkend="glib-Memory-Slices">slice allocator</link>
-
diff --git
a/docs/reference/glib/tmpl/main.sgml
b/docs/reference/glib/tmpl/main.sgml
index
38b3522
..
57f0634
100644
(file)
--- a/
docs/reference/glib/tmpl/main.sgml
+++ b/
docs/reference/glib/tmpl/main.sgml
@@
-180,7
+180,7
@@
Creates a new #GMainLoop for the default main loop.
@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.
@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.
-@Deprecated: Use g_main_loop_new() instead.
+@Deprecated:
2.2:
Use g_main_loop_new() instead.
<!-- ##### MACRO g_main_destroy ##### -->
<!-- ##### MACRO g_main_destroy ##### -->
@@
-189,7
+189,7
@@
Frees the memory allocated for the #GMainLoop.
</para>
@loop: a #GMainLoop.
</para>
@loop: a #GMainLoop.
-@Deprecated: Use g_main_loop_unref() instead.
+@Deprecated:
2.2:
Use g_main_loop_unref() instead.
<!-- ##### MACRO g_main_run ##### -->
<!-- ##### MACRO g_main_run ##### -->
@@
-198,7
+198,7
@@
Runs a main loop until it stops running.
</para>
@loop: a #GMainLoop.
</para>
@loop: a #GMainLoop.
-@Deprecated: Use g_main_loop_run() instead.
+@Deprecated:
2.2:
Use g_main_loop_run() instead.
<!-- ##### MACRO g_main_quit ##### -->
<!-- ##### MACRO g_main_quit ##### -->
@@
-208,7
+208,7
@@
it will now return.
</para>
@loop: a #GMainLoop.
</para>
@loop: a #GMainLoop.
-@Deprecated: Use g_main_loop_quit() instead.
+@Deprecated:
2.2:
Use g_main_loop_quit() instead.
<!-- ##### MACRO g_main_is_running ##### -->
<!-- ##### MACRO g_main_is_running ##### -->
@@
-218,7
+218,7
@@
Checks if the main loop is running.
@loop: a #GMainLoop.
@Returns: %TRUE if the main loop is running.
@loop: a #GMainLoop.
@Returns: %TRUE if the main loop is running.
-@Deprecated: USe g_main_loop_is_running() instead.
+@Deprecated:
2.2:
USe g_main_loop_is_running() instead.
<!-- ##### MACRO G_PRIORITY_HIGH ##### -->
<!-- ##### MACRO G_PRIORITY_HIGH ##### -->
@@
-326,7
+326,7
@@
becomes ready. It will return after an event source has been processed.
If set to %FALSE it will return immediately if no event source is ready to be
processed.
@Returns: %TRUE if more events are pending.
If set to %FALSE it will return immediately if no event source is ready to be
processed.
@Returns: %TRUE if more events are pending.
-@Deprecated: Use g_main_context_iteration() instead.
+@Deprecated:
2.2:
Use g_main_context_iteration() instead.
<!-- ##### FUNCTION g_main_context_pending ##### -->
<!-- ##### FUNCTION g_main_context_pending ##### -->
@@
-345,7
+345,7
@@
Checks if any events are pending for the default #GMainContext
</para>
@Returns: %TRUE if any events are pending.
</para>
@Returns: %TRUE if any events are pending.
-@Deprecated: Use g_main_context_pending() instead.
+@Deprecated:
2.2:
Use g_main_context_pending() instead.
<!-- ##### FUNCTION g_main_context_find_source_by_id ##### -->
<!-- ##### FUNCTION g_main_context_find_source_by_id ##### -->
@@
-527,7
+527,7
@@
for the default main context.
</para>
@func: the function to call to poll all file descriptors.
</para>
@func: the function to call to poll all file descriptors.
-@Deprecated: Use g_main_context_set_poll_func() instead.
+@Deprecated:
2.2:
Use g_main_context_set_poll_func() instead.
<!-- ##### FUNCTION g_timeout_source_new ##### -->
<!-- ##### FUNCTION g_timeout_source_new ##### -->
diff --git
a/docs/reference/glib/tmpl/scanner.sgml
b/docs/reference/glib/tmpl/scanner.sgml
index
494b1d2
..
96c07eb
100644
(file)
--- a/
docs/reference/glib/tmpl/scanner.sgml
+++ b/
docs/reference/glib/tmpl/scanner.sgml
@@
-386,20
+386,18
@@
Removes a symbol from a scope.
<!-- ##### MACRO g_scanner_freeze_symbol_table ##### -->
<para>
<!-- ##### MACRO g_scanner_freeze_symbol_table ##### -->
<para>
-This function is deprecated and will be removed in the next major
-release of GLib. It does nothing.
</para>
@scanner: a #GScanner.
</para>
@scanner: a #GScanner.
+@Deprecated:2.2: This macro does nothing.
<!-- ##### MACRO g_scanner_thaw_symbol_table ##### -->
<para>
<!-- ##### MACRO g_scanner_thaw_symbol_table ##### -->
<para>
-This function is deprecated and will be removed in the next major
-release of GLib. It does nothing.
</para>
@scanner: a #GScanner.
</para>
@scanner: a #GScanner.
+@Deprecated:2.2: This macro does nothing.
<!-- ##### FUNCTION g_scanner_lookup_symbol ##### -->
<!-- ##### FUNCTION g_scanner_lookup_symbol ##### -->
@@
-564,7
+562,7
@@
Adds a symbol to the default scope.
@scanner: a #GScanner.
@symbol: the symbol to add.
@value: the value of the symbol.
@scanner: a #GScanner.
@symbol: the symbol to add.
@value: the value of the symbol.
-@Deprecated: Use g_scanner_scope_add_symbol() instead.
+@Deprecated:
2.2:
Use g_scanner_scope_add_symbol() instead.
<!-- ##### MACRO g_scanner_remove_symbol ##### -->
<!-- ##### MACRO g_scanner_remove_symbol ##### -->
@@
-574,7
+572,7
@@
Removes a symbol from the default scope.
@scanner: a #GScanner.
@symbol: the symbol to remove.
@scanner: a #GScanner.
@symbol: the symbol to remove.
-@Deprecated: Use g_scanner_scope_remove_symbol() instead.
+@Deprecated:
2.2:
Use g_scanner_scope_remove_symbol() instead.
<!-- ##### MACRO g_scanner_foreach_symbol ##### -->
<!-- ##### MACRO g_scanner_foreach_symbol ##### -->
@@
-585,6
+583,6
@@
Calls a function for each symbol in the default scope.
@scanner: a #GScanner.
@func: the function to call with each symbol.
@data: data to pass to the function.
@scanner: a #GScanner.
@func: the function to call with each symbol.
@data: data to pass to the function.
-@Deprecated: Use g_scanner_scope_foreach_symbol() instead.
+@Deprecated:
2.2:
Use g_scanner_scope_foreach_symbol() instead.
diff --git
a/docs/reference/glib/tmpl/trees-nary.sgml
b/docs/reference/glib/tmpl/trees-nary.sgml
index
aafa0e4
..
99a8c85
100644
(file)
--- a/
docs/reference/glib/tmpl/trees-nary.sgml
+++ b/
docs/reference/glib/tmpl/trees-nary.sgml
@@
-528,8
+528,8
@@
with <option>--disable-mem-pools</option>
</para>
@dummy: the #GAllocator to use when allocating #GNode elements.
</para>
@dummy: the #GAllocator to use when allocating #GNode elements.
-@Deprecated:
Since 2.10, it does nothing, since #GNode has been
-
converted
to the <link linkend="glib-Memory-Slices">slice allocator</link>
+@Deprecated:
2.10: It does nothing, since #GNode has been converted
+
to the <link linkend="glib-Memory-Slices">slice allocator</link>
<!-- ##### FUNCTION g_node_pop_allocator ##### -->
<!-- ##### FUNCTION g_node_pop_allocator ##### -->
@@
-541,7
+541,7
@@
Note that this function is not available if GLib has been compiled
with <option>--disable-mem-pools</option>
</para>
with <option>--disable-mem-pools</option>
</para>
-@Deprecated:
Since 2.10, it does nothing, since #GNode has been
-
converted
to the <link linkend="glib-Memory-Slices">slice allocator</link>
+@Deprecated:
2.10: It does nothing, since #GNode has been converted
+
to the <link linkend="glib-Memory-Slices">slice allocator</link>
diff --git
a/docs/reference/gobject/tmpl/param_value_types.sgml
b/docs/reference/gobject/tmpl/param_value_types.sgml
index
f5bd46c
..
a9c166b
100644
(file)
--- a/
docs/reference/gobject/tmpl/param_value_types.sgml
+++ b/
docs/reference/gobject/tmpl/param_value_types.sgml
@@
-1129,7
+1129,7
@@
This is an internal function introduced mainly for C marshallers.
@value: a valid #GValue of type %G_TYPE_STRING
@v_string: duplicated unowned string to be set
@value: a valid #GValue of type %G_TYPE_STRING
@v_string: duplicated unowned string to be set
-@Deprecated: Use g_value_take_string() instead.
+@Deprecated:
2.4:
Use g_value_take_string() instead.
<!-- ##### FUNCTION g_value_get_string ##### -->
<!-- ##### FUNCTION g_value_get_string ##### -->
@@
-1236,7
+1236,7
@@
This is an internal function introduced mainly for C marshallers.
@value: a valid #GValue of type %G_TYPE_PARAM
@param: the #GParamSpec to be set
@value: a valid #GValue of type %G_TYPE_PARAM
@param: the #GParamSpec to be set
-@Deprecated: Use g_value_take_param() instead.
+@Deprecated:
2.4:
Use g_value_take_param() instead.
<!-- ##### FUNCTION g_value_get_param ##### -->
<!-- ##### FUNCTION g_value_get_param ##### -->
@@
-1351,7
+1351,7
@@
This is an internal function introduced mainly for C marshallers.
@value: a valid #GValue of %G_TYPE_BOXED derived type
@v_boxed: duplicated unowned boxed value to be set
@value: a valid #GValue of %G_TYPE_BOXED derived type
@v_boxed: duplicated unowned boxed value to be set
-@Deprecated: Use g_value_take_boxed() instead.
+@Deprecated:
2.4:
Use g_value_take_boxed() instead.
<!-- ##### FUNCTION g_value_get_boxed ##### -->
<!-- ##### FUNCTION g_value_get_boxed ##### -->
@@
-1528,7
+1528,7
@@
This is an internal function introduced mainly for C marshallers.
@value: a valid #GValue of %G_TYPE_OBJECT derived type
@v_object: object value to be set
@value: a valid #GValue of %G_TYPE_OBJECT derived type
@v_object: object value to be set
-@Deprecated: Use g_value_take_object() instead.
+@Deprecated:
2.4:
Use g_value_take_object() instead.
<!-- ##### FUNCTION g_value_get_object ##### -->
<!-- ##### FUNCTION g_value_get_object ##### -->
diff --git
a/glib/gdate.c
b/glib/gdate.c
index
17212a3
..
1055729
100644
(file)
--- a/
glib/gdate.c
+++ b/
glib/gdate.c
@@
-924,7
+924,7
@@
g_date_set_time_t (GDate *date,
*
* Sets the value of a date from a #GTime value.
*
*
* Sets the value of a date from a #GTime value.
*
- * @Deprecated: Use g_date_set_time_t() instead.
+ * @Deprecated:
2.10:
Use g_date_set_time_t() instead.
*/
void
g_date_set_time (GDate *date,
*/
void
g_date_set_time (GDate *date,
diff --git
a/glib/giochannel.c
b/glib/giochannel.c
index
2c518c7
..
6895686
100644
(file)
--- a/
glib/giochannel.c
+++ b/
glib/giochannel.c
@@
-174,7
+174,7
@@
g_io_error_get_from_g_error (GIOStatus status,
*
* Return value: %G_IO_ERROR_NONE if the operation was successful.
*
*
* Return value: %G_IO_ERROR_NONE if the operation was successful.
*
- * Deprecated: Use g_io_channel_read_chars() instead.
+ * Deprecated:
2.2:
Use g_io_channel_read_chars() instead.
**/
GIOError
g_io_channel_read (GIOChannel *channel,
**/
GIOError
g_io_channel_read (GIOChannel *channel,
@@
-219,7
+219,7
@@
g_io_channel_read (GIOChannel *channel,
*
* Return value: %G_IO_ERROR_NONE if the operation was successful.
*
*
* Return value: %G_IO_ERROR_NONE if the operation was successful.
*
- * Deprecated: Use g_io_channel_write_chars() instead.
+ * Deprecated:
2.2:
Use g_io_channel_write_chars() instead.
**/
GIOError
g_io_channel_write (GIOChannel *channel,
**/
GIOError
g_io_channel_write (GIOChannel *channel,
@@
-257,7
+257,7
@@
g_io_channel_write (GIOChannel *channel,
*
* Return value: %G_IO_ERROR_NONE if the operation was successful.
*
*
* Return value: %G_IO_ERROR_NONE if the operation was successful.
*
- * Deprecated: Use g_io_channel_seek_position() instead.
+ * Deprecated:
2.2:
Use g_io_channel_seek_position() instead.
**/
GIOError
g_io_channel_seek (GIOChannel *channel,
**/
GIOError
g_io_channel_seek (GIOChannel *channel,
@@
-320,7
+320,7
@@
g_io_channel_seek (GIOChannel *channel,
* flushed, ignoring errors. The channel will not be freed until the
* last reference is dropped using g_io_channel_unref().
*
* flushed, ignoring errors. The channel will not be freed until the
* last reference is dropped using g_io_channel_unref().
*
- * Deprecated: Use g_io_channel_shutdown() instead.
+ * Deprecated:
2.2:
Use g_io_channel_shutdown() instead.
**/
void
g_io_channel_close (GIOChannel *channel)
**/
void
g_io_channel_close (GIOChannel *channel)
diff --git
a/glib/gstrfuncs.c
b/glib/gstrfuncs.c
index
12018ec
..
c0b9384
100644
(file)
--- a/
glib/gstrfuncs.c
+++ b/
glib/gstrfuncs.c
@@
-1559,8
+1559,8
@@
g_ascii_strup (const gchar *str,
*
* Return value: the string
*
*
* Return value: the string
*
- * Deprecated:
This function is totally broken for the reasons discussed in
- * the g_strncasecmp() docs - use g_ascii_strdown() or g_utf8_strdown()
+ * Deprecated:
2.2: This function is totally broken for the reasons discussed
+ *
in
the g_strncasecmp() docs - use g_ascii_strdown() or g_utf8_strdown()
* instead.
**/
gchar*
* instead.
**/
gchar*
@@
-1590,8
+1590,8
@@
g_strdown (gchar *string)
*
* Return value: the string
*
*
* Return value: the string
*
- * Deprecated:
This function is totally broken for the reasons discussed in
- * the g_strncasecmp() docs - use g_ascii_strup() or g_utf8_strup() instead.
+ * Deprecated:
2.2: This function is totally broken for the reasons discussed
+ *
in
the g_strncasecmp() docs - use g_ascii_strup() or g_utf8_strup() instead.
**/
gchar*
g_strup (gchar *string)
**/
gchar*
g_strup (gchar *string)
@@
-1832,8
+1832,8
@@
g_ascii_strncasecmp (const gchar *s1,
* Return value: 0 if the strings match, a negative value if @s1 < @s2,
* or a positive value if @s1 > @s2.
*
* Return value: 0 if the strings match, a negative value if @s1 < @s2,
* or a positive value if @s1 > @s2.
*
- * Deprecated:
See g_strncasecmp() for a discussion of why this function is
- * deprecated and how to replace it.
+ * Deprecated:
2.2: See g_strncasecmp() for a discussion of why this function
+ *
is
deprecated and how to replace it.
**/
gint
g_strcasecmp (const gchar *s1,
**/
gint
g_strcasecmp (const gchar *s1,
@@
-1880,7
+1880,7
@@
g_strcasecmp (const gchar *s1,
* Return value: 0 if the strings match, a negative value if @s1 < @s2,
* or a positive value if @s1 > @s2.
*
* Return value: 0 if the strings match, a negative value if @s1 < @s2,
* or a positive value if @s1 > @s2.
*
- * Deprecated: The problem with g_strncasecmp() is that it does the
+ * Deprecated:
2.2:
The problem with g_strncasecmp() is that it does the
* comparison by calling toupper()/tolower(). These functions are
* locale-specific and operate on single bytes. However, it is impossible
* to handle things correctly from an I18N standpoint by operating on
* comparison by calling toupper()/tolower(). These functions are
* locale-specific and operate on single bytes. However, it is impossible
* to handle things correctly from an I18N standpoint by operating on
diff --git
a/glib/gstring.c
b/glib/gstring.c
index
87ba2e2
..
621c61d
100644
(file)
--- a/
glib/gstring.c
+++ b/
glib/gstring.c
@@
-827,7
+827,7
@@
g_string_ascii_up (GString *string)
*
* Returns: the #GString.
*
*
* Returns: the #GString.
*
- * Deprecated: This function uses the locale-specific tolower() function,
+ * Deprecated:
2.2:
This function uses the locale-specific tolower() function,
* which is almost never the right thing. Use g_string_ascii_down() or
* g_utf8_strdown() instead.
*/
* which is almost never the right thing. Use g_string_ascii_down() or
* g_utf8_strdown() instead.
*/
@@
-861,7
+861,7
@@
g_string_down (GString *string)
*
* Return value: the #GString
*
*
* Return value: the #GString
*
- * Deprecated: This function uses the locale-specific toupper() function,
+ * Deprecated:
2.2:
This function uses the locale-specific toupper() function,
* which is almost never the right thing. Use g_string_ascii_up() or
* g_utf8_strup() instead.
**/
* which is almost never the right thing. Use g_string_ascii_up() or
* g_utf8_strup() instead.
**/
diff --git
a/glib/gtree.c
b/glib/gtree.c
index
8411231
..
b0ab131
100644
(file)
--- a/
glib/gtree.c
+++ b/
glib/gtree.c
@@
-462,7
+462,7
@@
g_tree_foreach (GTree *tree,
*
* Calls the given function for each node in the #GTree.
*
*
* Calls the given function for each node in the #GTree.
*
- * Deprecated: The order of a balanced tree is somewhat arbitrary. If you
+ * Deprecated:
2.2:
The order of a balanced tree is somewhat arbitrary. If you
* just want to visit all nodes in sorted order, use g_tree_foreach()
* instead. If you really need to visit nodes in a different order, consider
* using an <link linkend="glib-N-ary-Trees">N-ary Tree</link>.
* just want to visit all nodes in sorted order, use g_tree_foreach()
* instead. If you really need to visit nodes in a different order, consider
* using an <link linkend="glib-N-ary-Trees">N-ary Tree</link>.
diff --git
a/glib/gutils.c
b/glib/gutils.c
index
8937d02
..
d481992
100644
(file)
--- a/
glib/gutils.c
+++ b/
glib/gutils.c
@@
-618,7
+618,7
@@
g_parse_debug_string (const gchar *string,
*
* Return value: the name of the file without any leading directory components.
*
*
* Return value: the name of the file without any leading directory components.
*
- * Deprecated: Use g_path_get_basename() instead, but notice that
+ * Deprecated:
2.2:
Use g_path_get_basename() instead, but notice that
* g_path_get_basename() allocates new memory for the returned string, unlike
* this function which returns a pointer into the argument.
**/
* g_path_get_basename() allocates new memory for the returned string, unlike
* this function which returns a pointer into the argument.
**/