This file is indexed.

/usr/include/libfm-1.0/fm-icon.h is in libfm-dev 1.2.0-1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
 *      fm-icon.h
 *      
 *      Copyright 2009 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
 *      Copyright 2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
 *      
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 2 of the License, or
 *      (at your option) any later version.
 *      
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 *      
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */


#ifndef __FM_ICON_H__
#define __FM_ICON_H__

#include <gio/gio.h>

G_BEGIN_DECLS

/**
 * FmIcon:
 *
 * Opaque structure used in Libfm icon cache. Before version 1.2.0 it had
 * own data structure. Since 1.2.0 it is derived from GIcon therefore it
 * can be used basicly the same way.
 */
typedef struct _FmIcon			FmIcon;

/* must be called before using FmIcon */
void _fm_icon_init();
void _fm_icon_finalize();

FmIcon* fm_icon_from_gicon(GIcon* gicon);
FmIcon* fm_icon_from_name(const char* name);

#ifndef FM_DISABLE_DEPRECATED
FmIcon* fm_icon_ref(FmIcon* icon);
void fm_icon_unref(FmIcon* icon);

/* Those APIs are used by GUI toolkits to cache loaded icon pixmaps
 * or GdkPixbuf in the FmIcon objects. Fox example, libfm-gtk stores
 * a list of GdkPixbuf objects in FmIcon::user_data.
 * It shouldn't be used in other ways by application developers. */
gpointer fm_icon_get_user_data(FmIcon* icon);
void fm_icon_set_user_data(FmIcon* icon, gpointer user_data);
void fm_icon_set_user_data_destroy(GDestroyNotify func);

void fm_icon_unload_user_data_cache();
#endif

/**
 * fm_icon_get_gicon:
 * @icon: a #FmIcon
 *
 * The macro to access GIcon instead of old direct access.
 * For older versions applications can define it as (icon->gicon)
 *
 * Returns: cached #GIcon object.
 *
 * Since: 1.2.0
 */
#define fm_icon_get_gicon(icon) G_ICON(icon)

void fm_icon_reset_user_data_cache(GQuark quark);

void fm_icon_unload_cache();

G_END_DECLS

#endif /* __FM_ICON_H__ */