[pango] Make the deprecation a bit more clear



commit 3d7f7acea1983863c37cb01eda959252d42be555
Author: Khaled Hosny <khaledhosny eglug org>
Date:   Sun Apr 5 22:32:48 2015 +0200

    Make the deprecation a bit more clear
    
    Followup to 81904127fe1107b6c0db4ce50c3d44cdf63b7f67.

 pango/pango-utils.c |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index e8f7090..dd3122e 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -544,11 +544,9 @@ pango_scan_int (const char **pos, int *out)
  * pango_config_key_get_system:
  * @key: Key to look up, in the form "SECTION/KEY".
  *
- * Looks up a key, consulting only the Pango system config database
- * in $sysconfdir/pango/pangorc.
+ * Do not use.  Does not do anything.
  *
- * Return value: (nullable): the value, if found, otherwise %NULL. The
- * value is a newly-allocated string and must be freed with g_free().
+ * Return value: %NULL
  *
  * Deprecated: 1.37:
  **/
@@ -562,12 +560,9 @@ pango_config_key_get_system (const char *key)
  * pango_config_key_get:
  * @key: Key to look up, in the form "SECTION/KEY".
  *
- * Looks up a key in the Pango config database
- * (pseudo-win.ini style, read from $sysconfdir/pango/pangorc,
- *  $XDG_CONFIG_HOME/pango/pangorc, and getenv (PANGO_RC_FILE).)
+ * Do not use.  Does not do anything.
  *
- * Return value: (nullable): the value, if found, otherwise %NULL. The
- * value is a newly-allocated string and must be freed with g_free().
+ * Return value: %NULL
  *
  * Deprecated: 1.37:
  **/


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