This file is indexed.

/usr/include/appmenu-gtk-parser/appmenu-gtk-menu-shell.h is in libappmenu-gtk-parser-dev-common 0.6.94-1.

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
/*
 * Copyright 2012 Canonical Ltd.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, version 3 of the License.
 *
 * 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Authors: Ryan Lortie <desrt@desrt.ca>
 *          William Hua <william.hua@canonical.com>
 */

#ifndef __UNITY_GTK_MENU_SHELL_H__
#define __UNITY_GTK_MENU_SHELL_H__

#include <gtk/gtk.h>

G_BEGIN_DECLS

typedef struct _UnityGtkMenuShell UnityGtkMenuShell;
typedef GMenuModelClass UnityGtkMenuShellClass;

#define UNITY_GTK_TYPE_MENU_SHELL (unity_gtk_menu_shell_get_type())
#define UNITY_GTK_MENU_SHELL(obj)                                                                  \
	(G_TYPE_CHECK_INSTANCE_CAST((obj), UNITY_GTK_TYPE_MENU_SHELL, UnityGtkMenuShell))
#define UNITY_GTK_IS_MENU_SHELL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), UNITY_GTK_TYPE_MENU_SHELL))
#define UNITY_GTK_MENU_SHELL_CLASS(klass)                                                          \
	(G_TYPE_CHECK_CLASS_CAST((klass), UNITY_GTK_TYPE_MENU_SHELL, UnityGtkMenuShellClass))
#define UNITY_GTK_IS_MENU_SHELL_CLASS(klass)                                                       \
	(G_TYPE_CHECK_CLASS_TYPE((klass), UNITY_GTK_TYPE_MENU_SHELL))
#define UNITY_GTK_MENU_SHELL_GET_CLASS(obj)                                                        \
	(G_TYPE_INSTANCE_GET_CLASS((obj), UNITY_GTK_TYPE_MENU_SHELL, UnityGtkMenuShellClass))

G_END_DECLS

#include "appmenu-gtk-action-group.h"

G_BEGIN_DECLS

/**
 * UnityGtkMenuShell:
 *
 * Opaque #GMenuModel proxy for #GtkMenuShell.
 */
struct _UnityGtkMenuShell
{
	GMenuModel parent_instance;

	/*< private >*/
	GtkMenuShell *menu_shell;
	gboolean has_mnemonics;
	GPtrArray *items;
	GPtrArray *sections;
	GSequence *visible_indices;
	GSequence *separator_indices;
	UnityGtkActionGroup *action_group;
};

GType unity_gtk_menu_shell_get_type(void);

UnityGtkMenuShell *unity_gtk_menu_shell_new(GtkMenuShell *menu_shell);

void unity_gtk_menu_shell_set_debug(gboolean debug);

G_END_DECLS

#endif /* __UNITY_GTK_MENU_SHELL_H__ */