[glib] GDesktopAppInfo: remove note about OnlyShowIn



commit 9ec8ab62b29ca9a5499fd906231a1c3bb758f321
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Jul 11 13:04:23 2013 -0400

    GDesktopAppInfo: remove note about OnlyShowIn
    
    A previous version of the patch had OnlyShowIn support for desktop file
    actions.  This was removed from the spec and the patch rewritten, but
    this bit of documentation slipped through.  Remove it.

 gio/gdesktopappinfo.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 59673be..02303e6 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -3728,11 +3728,6 @@ g_desktop_app_info_has_key (GDesktopAppInfo *info,
  * As per the specification, this is the list of actions that are
  * explicitly listed in the "Actions" key of the [Desktop Entry] group.
  *
- * Similar to g_app_info_get_all(), this returns all listed actions and
- * ignores <literal>OnlyShowIn</literal> or <literal>NotShowIn</literal>
- * keys.  Use g_desktop_app_info_should_show_action() to determine if an
- * action should actually be shown.
- *
  * Returns: (array zero-terminated=1) (element-type utf8) (transfer none): a list of strings, always 
non-%NULL
  *
  * Since: 2.38


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